Tuesday, August 04, 2009

 

Adding Service References and ‘The system cannot find the path specified’ error

I was facing this problem recently in a project when adding a reference to a WCF Service simply gave me this error.

wcferror

I google’d it for a while but in vain, I also removed the auto-gen service entries from the web.config but that did not work either.

Then I realized that earlier I had deleted the Service References folder from the application root, re-add and it worked as expected.

Funny thing is that Visual Studio will not tell you what went wrong, neither folder name appears under Add > ASP.NET Folders nor Visual Studio attempts to recreate it.

Labels: , , ,


Thursday, September 11, 2008

 

dotTrace not working with VS 2008 Web Applications

This morning I downloaded the latest build of dotTrace to profile my web application running under ASP.NET Development Server. I had a bit of problem specifying the correct web application path and I was getting this message.

dotTraceDialog 

I Google'd it a bit and found two guys having the same issue and offered suggestion that sadly didn't work.

It's was time to use IIS, since all my local web applications connect to a remote database server and I use the built-in web server for development, the web application gave a annoying 'Cannot connect to remote SQL Server' bug when run in IIS, I installed dotTrace on the remote server but it always showed 'Connecting' status, without further delay I copied the database to my local SQL Server and ran dotTrace again.

I got the same status, I google'd again and found this thread at the dotTrace forums and did all the settings suggested in the thread, but they didn't work either.

After 2-1/2 hours of trying I finally gave up and now looking to download ANTS Profiler.Hope it works.

Labels: , , ,


This page is powered by Blogger. Isn't yours?