Tuesday, September 23, 2008

Savable Pokemon Online

Where do you want to publish your web site? Monitoring

left a strange bug here that I came across Visual Studio 2005 to the publishing of a website. First a little background, usually public web sites Niver root server, so, I always edit the preferences of publication of the project I'm working on and delete the virtual folder placed by default visual studio:

20080917z

In this way whenever I try a site I have only to put the url http://localhost, sometimes placed a certain port to the development server and the publication gets the standard 80.

This always has been. The detail was that this time the server publication should carry a virtual folder.

talacha To begin to point to a virtual folder in the code, particularly for the javascript files and styles. And unexpected changes. In order to return to the previous configuration:

20080917c

With the above problems could continue to work to debug the site. Once I had finished it occurred to me application to the server publishes the location:

20080917b

Where I want to publish? localhost of course. I say "publish" and:

20080917a

That, What?. As I can not publish my site locally.

If we analyze the message, telling me I should publish to a site different from the web application, but the fact is that at no time set to localhost is where my web application, it is but in reality, being strict is located in a folder called d: \\ dev.

Also, when you debug the application server and launch the visual test studio, at no time placed localhost only virtual folder is placed and at most one port, which in my case was different from 80.

But apparently some record is saved and stored somewhere localhost, which keeps track, not investigate, the truth is that I hurry, you can publish the site to prove it.

a quick search on Google, mentioned that this error was due place that I was putting the site on the same url, it changed to a remote site, very helpful. I turned to the matter, and I happened to catch the dove of IIS Server as of publication and place anything that is not localhost:

20080917d

Switch back the option to use Visual Studio Dev Server to continue working as they normally do,:

20080917e

As you can see the IIS server I'm not using, but nevertheless seems to have been changed if the parameter somewhere. Try

post:

20080917b

And this time without mistakes!

Ready!

0 comments:

Post a Comment