Solved

visual studio project files not opening?

Posted on 2010-09-24
11
264 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Generate Unique ID in VB.NET 21 104
Groupbox Control ? 2 29
asp.net mvc 2 35
ASP.net Will we ever be able to build mobile apps in it 6 32
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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