Re: Strange webserver behaviour

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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 :-)

.



Relevant Pages

  • Re: How to deploy ASP.Net applications
    ... You should never deploy your .vb files to a production server. ... ..dll file in your bin folder and ... Regarding ASP.net application i dont know how to secure my source code. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: AJAX client script bug with validator
    ... GAC on the dev machine but is copied to the BIN folder on the production ... Also the production server has never had any previous versions of ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to deploy ASP.Net applications
    ... Please let me know how we can upload copied project to live server. ... compiled .dll file in your bin folder (in a bin folder on the server as ... about desktop applications as you know we can make a setup package ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: SharePoint Novice -- Problem Installing A WebPart
    ... Try putting the assembly for the webpart into the BIN folder for the virtual ... Sharepoint for some reason unknown to me will not read an assembly ... and compile the webpart assemblies to a CAB file ... our SharePoint server. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Datagrid paging problem
    ... Are u using any kind of usercontol or custom control on your test page. ... This may post the << to the server. ... "Gaurav Vaish " ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)