I am deploying a NT Service in Dot net 2005 to a server(Windows Server 2003) that does some file IO specifically it copies a file from one location and backs it up to another. I am receiving a dot net framework error when this service tries to perform the copy(I believe, since it works on my...
The unchecking of the Allow Anonymous worked and I already had IWA checked. The server is 2003 and I am using 2.0. I just don't understand why on my development machine it worked with Allow Anonymous checked unless it's because my machine is Win 2000 with IIS 5.0.
Thanks for the help.
Thanks for the reply. I tried using the windows principal without success. It pretty much did what the Roles provider did, nothing. This works as I said on my machine (as did your code). Is there some setting I'm not catching on the server?
I'm sorry, what doesn't work is
Roles.IsUserInRole(User.Identity.Name, @"InfiMed\IS") comes back false and then the buttons don't become visible. This occurs without error. On my machine it works fine. the InfiMed\IS is part of the Active directory under the Groups node. What I want to do...
I'm using windows authentication for my web app. It works fine on my local development machine but when I access my pages on the web server it doesn't appear to be working. The web server is on the domain running IIS 6.xxx, the same as my development machine. The web.config file is as follows...
Unfortunately I still have the problem; I do not see a return value. I thought possibly because I was in an asp.net app so I tried a windows app with still the same results. I am running in VS.net 2005. What environment are you running in?
This was just a test case. My actual procedure does return a value. The only reason I'm using the out parameter is because for some reason in the pervasive the datareader hasrows property always returns a true even though the recordset returns 0 records as verified in the data manager.
CREATE PROCEDURE PROCOUT (in :id Int, out :outval INTEGER)
AS BEGIN
SELECT COUNT(*) INTO :outval FROM Enrolls WHERE Class_Id = :id;
Drop Table t2;
CREATE TABLE t2 DCOMPRESS PAGESIZE=1024 (c1 INT DEFAULT 10);
INSERT INTO t2(c1)
VALUES (:outval);
END;
I'm using odbc namespace. I just experimented with the demo data where I wrote the outval into a table and that worked fine but the C# code still returns null.
snippet:
OdbcConnection conn = new OdbcConnection(ConfigurationManager.ConnectionStrings["PVSWDemoData"].ToString())...
I'm calling a pervasive stored procedure from a c# app and it requires an "inout" parameter. My code appears to be working fine but the returned parameter value returned is always null even if I hard set it in the procedure. Any ideas?
Im running PVSW 8.6
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.