-
Apr 4th, 2012, 02:23 PM
#1
Thread Starter
Addicted Member
ASP.NET 4 app working fine in localhost, giving runtime error in remote machines
The title says it all. After a lot of problems with a simple app we use at my workplace, I decided to redo the app again for .NET4 and add some refactoring.
Upon uploading said app, the website runs well on the local host in iis 7.5 Windows server 2008 r2. But when I try to access it on remote machines the server lists a runtime error.
Why?
-
Apr 4th, 2012, 07:52 PM
#2
Re: ASP.NET 4 app working fine in localhost, giving runtime error in remote machines
This is generic.I cannot guess.
As a start give us the server error.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 5th, 2012, 03:09 PM
#3
Thread Starter
Addicted Member
Re: ASP.NET 4 app working fine in localhost, giving runtime error in remote machines
Originally Posted by sapator
This is generic.I cannot guess.
As a start give us the server error.
Hello, I have since resolved the problem changing the website from that directory to another. (Why that worked I don't know) The error was Runtime error, which was funny because on the server it ran Ok.
Now my problem is that I can't load data from a MS Access database that's linked to a remote sql server via ODBC.
If I stop IIS it runs fine and loads the data from VWD, which means there is ODBC connectivity. But if I run it on iis, the website loads, but with no Data.
:S
-
Apr 7th, 2012, 01:59 PM
#4
Frenzied Member
Re: ASP.NET 4 app working fine in localhost, giving runtime error in remote machines
Hello,
by saying "my problem is that I can't load data from a MS Access database that's linked to a remote sql server"
is this means that you get some errors ??
if so can you post it ?
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011
-
Apr 9th, 2012, 06:39 AM
#5
Thread Starter
Addicted Member
Re: ASP.NET 4 app working fine in localhost, giving runtime error in remote machines
Originally Posted by avrail
Hello,
by saying "my problem is that I can't load data from a MS Access database that's linked to a remote sql server"
is this means that you get some errors ??
if so can you post it ?
Hello. Actually, I'm not getting any error, which is what makes the task more difficult and/or confusing to me.
When I load it from VS, it loads the data just fine with IIS stopped. When I start IIS and load the application however, the page loads without pulling the data from the database.
The database is an .mdb file that has tables linked to a remote sql server on the network.
-
Apr 9th, 2012, 07:32 AM
#6
Thread Starter
Addicted Member
Re: ASP.NET 4 app working fine in localhost, giving runtime error in remote machines
Okay, Upon further inspection I can see now that the error is that I can't connect to the ODBC connection from IIS.
ODBC--connection to 'ODBCNAMEHERE' failed
-
Apr 9th, 2012, 07:38 AM
#7
Thread Starter
Addicted Member
Re: ASP.NET 4 app working fine in localhost, giving runtime error in remote machines
It seems my problem is related to missing access DAC drivers missing from the server, which is WS2k8 r2. Any way to install MDAC or something similar in this server?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|