If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix .Net Provider asp.net null values on execution on reader

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-02-11, 05:52
redfox redfox is offline
Registered User
 
Join Date: May 2011
Posts: 1
Question Informix .Net Provider asp.net null values on execution on reader

Hi,

I am expiriencing a strange problem that I can not solve.

I have an asp.net application and I have made a setup of the Informix .Net provider.

When I run my application with F5 in debugg mode everything works fine, but the same application with the same unchanged code and on the same machine doesn't work on IIS 7. When I run it on IIS 7 the Connection to database opens fine, and after executing the IfxDataReader I recieve a null value.

????

Apsolutly the same code, same machine, same database and problems ???


Can you help
Reply With Quote
  #2 (permalink)  
Old 05-02-11, 14:59
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
I don't know about informix specifically but usually if you have this sort of issue in ASP.NET it's due to a credential or other configuration issue.

What are you using for your connection string? Are you explicitly defining a username/password? Have you tried attaching to the IIS process to inspect your connection/reader and make sure it's connecting with the credentials you think it is?
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
  #3 (permalink)  
Old 05-03-11, 12:12
marymurny marymurny is offline
Registered User
 
Join Date: Sep 2004
Posts: 32
formix .Net Provider asp.net null values on execution on reader

You may want to check on the configuration with the user running in debug and the one running in IIS7. If you are using Informix Dynamic server then the database admin can turn on sqlexplain for the session running the asp program.

It sounds like the connection is using multiple ports where the connection starts on one port but return the results on a different port. You may want to check the configuration as the previous user already stated.

I hop this helps.
Reply With Quote
Reply

Tags
.net, asp.net, informix, informix .net provider

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On