Re: Strange webserver behaviour
- From: "RasmusKL" <rasmuskl@xxxxxxxxx>
- Date: 23 Jan 2007 02:21:44 -0800
Answers embedded.
Gaurav Vaish (MasterGaurav) skrev:
However, I was never asked about login credentials when trying to run -
but the user/password for logging on the server were correct when I
created the project (and the files are actually on the server).
Check the "Security" options in IIS. It seems there is some
misconfiguration.
My problem is that this not my webserver, I don't have access to IIS
settings, but I wanted to check if I was doing something wrong before
contacting the webhosting company.
But then, if running in HTTP mode, it's unable to add references or add
classes to App_Code, since it can't create a _vti_cnf folder, which
apparently already exists on the server. Argh! This works in FTP mode
though, strangely.
What do you mean by "running in HTTP mode"?
_vti_cnf folder... forget about frontpage extensions, you don't need
them with VS2005.
I mean when creating the project, selecting either HTTP, FTP og
FileSystem. I get different errors with FTP and HTTP modes connecting
to the project.
If I create a project that works perfectly locally and copy it up to
the webserver, I get exactly the same problems.
Regarding your assembly-reference problem, just ensure the following:
1. You have a bin folder (you can right click on the project and select "Add
an ASP.Net Folder" -> "Bin").
2. The assembly exists in the bin folder.
3. There is a reference to the assembly in the <compilation> sub-section in
<system.web> section in web.config.
My local copy works fine without a reference in the web.config. But the
other two are fullfilled.
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.org
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
Thanks Gaurav :-)
.
- References:
- Strange webserver behaviour
- From: RasmusKL
- Re: Strange webserver behaviour
- From: Gaurav Vaish \(MasterGaurav\)
- Strange webserver behaviour
- Prev by Date: Re: Deploy without overwriting Web.Config
- Next by Date: Re: Missing an assembly reference
- Previous by thread: Re: Strange webserver behaviour
- Next by thread: Re: Resize Page Header to fit screen
- Index(es):
Relevant Pages
|