Computing.Net > Forums > Programming > program in asp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

program in asp

Reply to Message Icon

Name: daniel
Date: November 22, 2002 at 07:27:28 Pacific
OS: intel
CPU/Ram: 96MB
Comment:

Hej:
am doing a page in ASP and when I try to change the path and insteed of c:\upload
writed c:\Inetpub\wwwroot\phase.mdb dosenīt work. If I write c:\myservername\Inetpub\wwwroot\phase.mdb it dosenīt work either and if I made the database with the version of access that have in the computer it dosenīt work either.
How it is possible? Is there any solution or it is so that ASP is one more program that create problems insteed of solutions?
Am evalueting persits too. It come up the same problem. Anybody know how to make a path that work in ASP?
Thank yow in advance.
daniel



Sponsored Link
Ads by Google

Response Number 1
Name: Nikita Bereza
Date: November 22, 2002 at 09:35:38 Pacific
Reply:

Hello, Daniel!

Try to use it like this:
conn.ConnectionString="Data Source=" & Server.Mappath("../db/database.mdb") & ";Provider=Microsoft.Jet.OLEDB.4.0;"

------
Bereza Nikita
Rapid Internet Development Department
E-mail: nike@alarit.com
Alar Information Technologies


0
Reply to Message Icon

Related Posts

See More


Qbasic SCREEN on Windows ... Javascript word occurrenc...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: program in asp

array of controls in asp.net www.computing.net/answers/programming/array-of-controls-in-aspnet/10653.html

How to clear a textbox in asp.net www.computing.net/answers/programming/how-to-clear-a-textbox-in-aspnet-/8234.html

programming in Windows www.computing.net/answers/programming/programming-in-windows/774.html