Forums

This topic is locked

Uploading dynamic pages to Company Server.

Posted 19 Jan 2004 13:39:18
1
has voted
19 Jan 2004 13:39:18 xxx xxx posted:
Hi, if anyone could help I would be extremely grateful. I have built a company Intranet using dreamweaver, that includes dynamic search pages using asp.net to access information from an Access DB. This all worked fine on my local computer and I used the wwwroot folder as the testing folder.

The problem has come when I come to upload the site onto the company server. The standard html pages work but the dynamic pages do not. I believe it is something to do with the way it is saved on the server but can not find any help on this.

Any pointers would be great as I have become stuck.

Thank you

Replies

Replied 19 Jan 2004 19:01:05
19 Jan 2004 19:01:05 a aa replied:
hello ,when you are uploding you files to the internet you have to connect the database again with your pages.
inside of the files you will see a folder under name of connection copy the code from this page and paste it into your pages .
Replied 27 Jan 2004 21:33:56
27 Jan 2004 21:33:56 Dave Thomas replied:
she will have already had a connection code in the pages if she used a testing server on her machine.

how did you set up the database connection for your site?

using DSN, Server.Mapath, etc.. ?

if you set it up with a DSN, then this same DSN needs to be set up on your company server.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 28 Jan 2004 11:17:34
28 Jan 2004 11:17:34 Wayne Hultum replied:
Does your server support asp.net files?
Replied 28 Jan 2004 15:30:50
28 Jan 2004 15:30:50 xxx xxx replied:
I connencted the DB through the OLE DB Connection. The connection string is as follows:
"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=C:\Inetpub\wwwroot\...\..mdb;
Persist Security Info=False"

This works fine on my comptuer using it as a testing server but not when on the network server?
Replied 28 Jan 2004 17:34:26
28 Jan 2004 17:34:26 Dave Thomas replied:
then all you should need to do is change this line::

Data Source=C:\Inetpub\wwwroot\...\..mdb;

to

Data Source=(your path to the db on the network server.mdb);


Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 28 Jan 2004 18:03:39
28 Jan 2004 18:03:39 xxx xxx replied:
ok, I have edited the OLE DB Connection so that the data source is the path on the server. (Y:\.mdb) Y is a short cut straight to the folder - does this effect it in anyway as it is not the full folder path? I also have my remote folder set to Y:
When I try to access an asp.net page on my computer through the intranet it trys to open or download the file. When testing on another network computer clicking on a link for an asp.net page some return a the page in html code other links say page is not available.

thanks for your help so far, a bit more advise and fingerscrossed i might get there.
Replied 28 Jan 2004 21:06:42
28 Jan 2004 21:06:42 Dave Thomas replied:
as wayne mentioned above

Does your server support asp.net files?

What server are you running?

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 29 Jan 2004 11:20:43
29 Jan 2004 11:20:43 xxx xxx replied:
The Server has Microsoft IIS Installed on it. It does have a Inetpub\wwwroot folder but my Intranet files are not saved in this location as they are too large. Would this effect the way it works? If it was saved in Inetpub\wwwroot on the server would it stand a better chance of running?
Replied 29 Jan 2004 16:51:09
29 Jan 2004 16:51:09 Dave Thomas replied:
i dont use asp.net myself, ive only tinkered with it on my home machine.

but i would think you would need the .NET framework installed on the server in order for it to process the pages. I may be wrong, I really don't have that much knowledge of .net.

I use a windows 2003 server with support for asp, asp.net, php etc.. all pre-configured on the box. IIS is installed and processes my pages, but without the asp.net support the IIS would be useless. Or so i believe.



Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com

Edited by - UltraDav on 29 Jan 2004 16:54:58
Replied 27 Feb 2004 03:52:42
27 Feb 2004 03:52:42 chris varin replied:
to view you files try localhost/filename.html or what ever it is <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replied 10 Mar 2004 04:59:18
10 Mar 2004 04:59:18   replied:
Why not use DSN-less connection

Go to your help section and it will show you how to connect.

Reply to this topic