Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. denhoffk

    Deployment of a NT Service

    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...
  2. denhoffk

    Windows Authentication

    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.
  3. denhoffk

    Windows Authentication

    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?
  4. denhoffk

    Windows Authentication

    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...
  5. denhoffk

    Windows Authentication

    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...
  6. denhoffk

    Calling stored procedures with inout parameters in C#

    Yoops, the coffee kicked in. using the cmd.ExecuteNonQuery does return a value. I guess I'll have to change my methodoly. thanks for the help!
  7. denhoffk

    Calling stored procedures with inout parameters in C#

    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?
  8. denhoffk

    Calling stored procedures with inout parameters in C#

    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.
  9. denhoffk

    Calling stored procedures with inout parameters in C#

    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;
  10. denhoffk

    Stored procedures in the data manager with inout paramaters.

    Do you mean like a stored procedure that calls the procout procedure and then prints the return value?
  11. denhoffk

    Calling stored procedures with inout parameters in C#

    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())...
  12. denhoffk

    Calling stored procedures with inout parameters in C#

    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
  13. denhoffk

    Stored procedures in the data manager with inout paramaters.

    How do I call stored procedures with "inout" parameters in the pervasive SQL Data Manager?

Part and Inventory Search

Back
Top