473,323 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Application folder

Hi,

I'm currently working on a project and my Inetpub folder was on C:\. I shall
now run my project on a server, and the path will by D:\. How can you change
the main root ?
Nov 18 '05 #1
3 1126
There really shouldn't be much to change unless you've used absolute paths within your application code. Just drop the files into the appropriate folder.

"Marc Tousignant" <aa*@bbb.com> wrote in message news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

I'm currently working on a project and my Inetpub folder was on C:\. I shall
now run my project on a server, and the path will by D:\. How can you change
the main root ?

Nov 18 '05 #2
I know but I have this error:

Server Error in '/NetSip' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.] NetSip.index.btnEntre_Click(Object sender, EventArgs e) in
c:\inetpub\wwwroot\NetSip\index.aspx.vb:56
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl,
String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
"Raterus" <ra*****@spam.org> a écrit dans le message de
news:Oz**************@TK2MSFTNGP12.phx.gbl...
There really shouldn't be much to change unless you've used absolute paths
within your application code. Just drop the files into the appropriate
folder.

"Marc Tousignant" <aa*@bbb.com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

I'm currently working on a project and my Inetpub folder was on C:\. I shall now run my project on a server, and the path will by D:\. How can you change the main root ?

Nov 18 '05 #3
Check settings in IIS via the Managment Console.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Marc Tousignant" <aa*@bbb.com> wrote in message
news:eN**************@TK2MSFTNGP10.phx.gbl...
I know but I have this error:

Server Error in '/NetSip' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.] NetSip.index.btnEntre_Click(Object sender, EventArgs e) in
c:\inetpub\wwwroot\NetSip\index.aspx.vb:56
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl,
String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
"Raterus" <ra*****@spam.org> a écrit dans le message de
news:Oz**************@TK2MSFTNGP12.phx.gbl...
There really shouldn't be much to change unless you've used absolute paths
within your application code. Just drop the files into the appropriate
folder.

"Marc Tousignant" <aa*@bbb.com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

I'm currently working on a project and my Inetpub folder was on C:\. I

shall
now run my project on a server, and the path will by D:\. How can you

change
the main root ?


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Robert Magnusson | last post by:
Hi All, This is sure to be an easy question. I am wondering what the accepted standard is for referencing a sub-folder below the application.exe folder? In VB6 you simply used App.Path and...
13
by: Dennis C. Drumm | last post by:
I use the Documents and Settings\All Users\Application Data\AppName folder to store xml settings that are applicable to all user who log onto a machine. (The uers personal settings associated with...
3
by: MisterG | last post by:
Hi, In my code, I rename a folder and then the asp.net application restarts ! So i've lost my session variables ... How is it possible for the application asp.net to restart when you rename a...
1
by: Jim Heavey | last post by:
Hello, I am taking ASP.Net at school and I have run into differences between running the code at home and running it at school. I have a couple of issues which I believe are related to the folder...
5
by: Jim Heavey | last post by:
Hello, I am trying to figure out how to put my application onto the server. I am deploying to a Windows 2000 Server When I bring up Internet Services Manager and navigate to the Default Web...
14
by: Ray5531 | last post by:
I have a console application in my local computer which I like to use remoting in it,to instanciate an object (MyClass.dll) in a web application(its bin folder) in a completely seperated box(in the...
2
by: nologin | last post by:
Hello. I have an application which has the use of another assembly. How can i make a deployment project, which will be copy this assembly not to application folder but system folder - depends on...
5
markrawlingson
by: markrawlingson | last post by:
Hey guys, Having a bit of a complicated issue here so please bare with me while I explain. I'm also not a system admin and don't know a whole lot about IIS, so i apologize in advance. I...
5
by: IUnknown | last post by:
Ok, we are all aware of the situation where modifying the folder structure (adding files, folders, deleting files, etc) will result in ASP.NET triggering a recompilation/restart of the application....
11
by: mjahabarsadiq | last post by:
Hi I have created a web application. I am using ant to build the war and deploy in tomcat. The war file is deployed under "TOMCATE_HOME/work/standalone/localhost/onlineres.war". I have my...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.