Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

visual studio project files not opening?

Posted on 2010-09-24
11
262 Views
Last Modified: 2013-11-26
Hi,

I just tried to open a solution on my server which i haven't done for a while... and noticed that while the solution opens fine on my workstation, it does not open on the server. The project opens, and the solution explorer fills with the list of files, but if i click on one of the .aspx files or .vb files to open so i can see the designer and code... nothing happens? The hourglass stays for a few seconds and then nothing happens?

Any ideas?

Rgds, Aiden
0
Comment
Question by:AidenA
  • 6
  • 4
11 Comments
 
LVL 14

Assisted Solution

by:existenz2
existenz2 earned 200 total points
ID: 33753761
Sounds like an installation which got corrupted or a version difference of the VS between workstation and server.
0
 

Author Comment

by:AidenA
ID: 33753966
ah *&%$

i guess it probably is. that server is a never ending source of problems...

ok i will do a reinstall and see
0
 
LVL 3

Expert Comment

by:CyberSoft
ID: 33765700
Aiden - if you've not installed Visual Studio (same version as your dev environment) but you've installed SQL Server 2005 (or higher) then the version of Visual Studio on the server is not the full version - it will be the BIDS (BI - Business Intelligence) version that came with SQL server which means most of the project templates and libraries your development environment uses would not be installed hence problems opening up the solution on the server.

HTH
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:AidenA
ID: 33767930
hi thanks... humm. well actually that's just reminded me that the version i have on my pc is the 2005 professional ed while the version on the server is the 2005 std version. Not sure if i was using anything that can only be used on the professional version but it's possible. I will just try and install the prof version instead then... it's possible that could be the problem alright
0
 

Author Comment

by:AidenA
ID: 33768141
ok, it's a moot point because i can't install or remove anything from the server. The error is 'Error code 1601 for this component means "The Windows Installer service could not be accessed.'

Actually, we've had this problem before trying to install a windows service. looks like nothing can be installed on this server... it is a windows 2000 server and just seems to be too old.

Unless you guys have some idea about how to fix this issue that we haven't already tried?
0
 
LVL 3

Expert Comment

by:CyberSoft
ID: 33768193
You might need to check the server that it has latest Windows Installer installed - Widows Server 2000 is quite old indeed. Also, is there a reason you're trying to run the solution on the server in the first place? Very bad practice to have development tools installed on your server IMHO.
0
 

Author Comment

by:AidenA
ID: 33768573
well may be bad practice, but you're supposed to have a test environment which is the same as the production environment (i.e. have a server which is used for production and a server which is used for testing).

without that is really difficult to solve some problems which occur on the production environment without being able to run locally on VS. And in theory i don't think anything bad should happen really. The site i work on is important but not mission critical. So, how would you solve these problems then, not being able to run VS on your server, and not having a test server?

As for the windows installer... tried to install windowns installer loads of times and just didn't work. Think the server is just on it's last legs anyway, we are trying to get another one
0
 
LVL 3

Accepted Solution

by:
CyberSoft earned 300 total points
ID: 33768663
Yes, I agree one needs a pre-production/test environment that mimics the production environment for testing but having Visual Studio on that pre-prod/test server then violates the duplicate environment scenario - as you may have something work on that environment that doesn't work on live/production. That makes it even more difficult to test.

With proper error logging and/or tracing you should be able to debug issues without having development tools on the server.

We've always developed systems on dev machines with a local test server for testers and then a pre-production server online which is a exact replica (settings, resources, hardware, OS, etc) of the live environment.

Considering Windows 2000 server is over 10 years old now - you should be seriously considering at the very least (if cost is a factor) looking at Windows 2003 Server otherwise Windows 2008 Server.

If you're having problems getting Windows Installer to install on your server then you're most likely not going to get the correct VS version installed either.
0
 

Author Comment

by:AidenA
ID: 33768738
yeah well that's the thing also, because of the server problems I was never able to get remote debugging working either. I log all the errors into a table in my database, but often that's not enough to figure out the error. Probably I don't use proper analysis, but then i don't have time to invest in these things also, need to get the site operational! But, i study things on the side as i'm going along... and doing the microsoft 356 exam which has sections on this kind of thing so maybe i'll get a chance to learn a bit better how to solve these issue. But anyway, since i can't get remote debugging installed and everything i seem to do on the server doesn't work out... then i think my hands are somewhat tied...

ok well thanks for the info... i'll close the question since I don't think there's much i can do right now until i get a new server. When that happens I'll try and get remote debugging working and do some investigation into the other problem solving techniques and tracing (although is tracing not just about finding out how long thing take to load up etc? well i guess that could help if there's an error also i suppose...)
0
 

Author Closing Comment

by:AidenA
ID: 33768754
solved
0
 
LVL 3

Expert Comment

by:CyberSoft
ID: 33768914
Well, tracing isn't necessarily only about timing, you could go as granular as logging each method call and params passed to and returned from to aid in your debugging. Good luck and thanks for the great answer rating.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question