VS 2008 or Win 7?

tnickle73

New member
Local time
8:20 PM
Messages
12
I am taking a couple C# classes at school and I finally got VS 2008 set up on my home computer. I am having one issue that I'm not sure where to go looking.

At school, the program is installed on XP Pro.
At school, I can read, output, and create files that are saved on my hard drive. I know any code I have used is correct because I can open up the files my code creates with other applications without issue on the school computers.

At home, I have the program installed on Win 7 Pro x64. (I just upgraded my home comp so I'm still figuring out this new platform honestly.)

At home, everything runs, etc, but it will not create files. I can see the drives working, but nothing is written. I have tried several drives - all failing.

I'm assuming this is a flag or an environment setting somewhere on my installation or either VS or Win7 but I have no idea where.

I'm hoping someone here can help.
Thankyou.
 

My Computer

OS
Win 7 Pro 64 Bits
You could upgrade to VS2010 :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 10 Pro x64, Arch Linux
CPU
Intel Core 2 Quad Q8200 OC'd 3.08GHz
Motherboard
Asus Rampage formula LGA775
Memory
8GB DDR2 900Mhz
Graphics Card(s)
MSI GT730 2GB GDDR5 (Kepler)
Sound Card
Supreme FX2
Monitor(s) Displays
Samsung LS22F350 LED
Screen Resolution
1080P
Hard Drives
Kingston SSDNow UV400 120GB, 500GB Hitachi, 2TB Samsung, 500GB Seagate FreeAgent, 640GB Samsung, 160GB Toshiba (Arch)
PSU
AeroCool 500W Bronze
Cooling
Cooler Master V6 + 3X fans
Keyboard
Prolink keyboard
Mouse
Logitech M705
Internet Speed
1MiB/s
Browser
Chrome Beta
Are you using the C# express version? If you look around you should be able to find an .iso image for download with all the Visual Studio 2008 SP1 express editions. I tried VS2008 on Vista64 and took it off. But this SP1 express installed easily and works fine.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
What do you mean you updated to service pack 1? What I suggested was getting an .iso download that has SP1 slipstreamed/integrated. That's a different ball of wax. It just goes on smooth. Don't try manually adding SP1 to something that's already broken.

Edit: I'm pretty sure this is the .iso I used. Remove the crap and just install clean after burning a CD from it:

http://www.microsoft.com/downloads/...68-BCB9-412C-95C6-D100C872EC60&displaylang=en
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
The error messages in the image are hidden, so I'm assuming it states 'Cannot find or open file...". Do these files actually exist (the ones in C:\Windows\assembly\.....)? These are not created during compilation they are installed. If they do not exist, then either the required .NET SDK is not installed, or your project or VS configuration is incorrect. I don't personally do any .NET development but to me it seems that it is unable to locate the required dependancies. Try to create a new (blank) C# project and add the most basic "hello world" code to it. If that runs then it's definitely your project file or VS config.

Also, from your screenshot it seems like the executable (C:\Users....\Debug\ICA5.exe) is created and loaded successfully - in fact it's the only file in the list that actually loads!

Other things to try:
Always run your Visual Studio as Admin (right-click, 'Run as administrator').
Ensure that you develop with a user account that has Admin rights.
Disable UAC.
(these are not required but I find it helps minimize problems on my dev machines)

Also, the files that are missing in your screenshot (C:\Windows\...) actually exist on my system (Win 7 Ultimate x64). I have VS2008 with SP1 installed afterwards, as well as VS2010.

Hope this helps
 

My Computer

Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Ultimate (x64)
CPU
Intel Q9550
Motherboard
Intel DP43TF
Memory
4GB Kingston DDR2-800
Graphics Card(s)
XFX nVidia GT 8800
Sound Card
Creative X-Fi XtremeMusic
Monitor(s) Displays
Samsung 23" LCD (1680x1050)
Hard Drives
Seagate 320MB SATA
Seagate 500MB SATA-2
If you could install SP1 afterward you probably didn't have the problem in question. If he can't install the slipstreamed disk is the best shot. W7 may be a bit different than Vista but with Vista64 I could not get the thing to install no way no how. With the slipstreamed disk the stuff went on without a hitch.

It's probably a minority of PCs with the issue.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Back
Top