Answer Questions
Rid Open Data Reader Error
Hello, I am getting an Open Data Reader Error in the Line myDataAdapter.Fill(myDataSet); The Code works fine and good in my local IIS. But when the dll is uploaded and accessed the Error occurs. Please suggest a solution. Thank You Anoop. H Could you please post more details of your source code Thanks Bei I would check and make sure you are closing all of your data reade ...Show All
MightyMTreeGrl Enterprise Library DAAB
Hi all... I would be extremely grateful for some help. I get the feeling I'm missing something simple, but I can't see it myself. I'm attempting to use the Enterprise Library to access a stored procedure in a SQL Server database. I need to retrieve both table data AND an output parameter. The table data is retrieved fine, but for some reason I am unable to retrieve any value save DBNull from the output parameter. Code snippet is ...Show All
haputanlas NullReference Error
I recently installed Visual Studio 2003 upgrade and made sure that the .net framework on my computer has been upgraded too. Now the .aspx page I am working on is giving me a "System.NullReferenceException: Object reference not set to an instance of an object" error. Here is my code: VB.net: Does the error stack indicate what line is causing the problem I have seen situations like this in the past where controls were no longer declared ...Show All
WallStreetVH body tag runat=server doesn't work on master page
I am using a single master page extensively. I have one detail page on which I need to change the page background color. So I want to access the <body> tag which is not on the detail page - it's on the master page. In MSDN, there is a specific example of how to reference the body tag in the code behind by giving the body tag an ID and runat=server: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/ht ...Show All
noname00 Design Question
We have a situation where 25,000 clients will need to 'check-in' to our servers every hour. Checking in will require passing a unique ID that is verified against a back-end SQL Server database. I am relatively new to remoting, so I have a few design questions. We plan on using network load balancing, so the final design needs to take this into account. We also cannot guarantee all clients will have open firewalls, so making it port 80 friendl ...Show All
Eug723 ASP.net 2 Xams
Do any body Know when Visual studio 2005 exams will be available and VS 2003 exams will be expire From http://www.microsoft.com/learning/mcp/newgen/faq/ : Professionals who hold any currently recognized Microsoft certification do not need to renew their credentials. Your current credentials will be recognized as long as they are in demand, and they will continue to be supported by Microsoft. Microsoft continues to recognize the follow ...Show All
SHWoo What is better for local 3-level .NET system -Remoting or Web Services ?
In local network is need to create 3-level pure .NET system, and for connecting levels we need some technology: Remoting or Web Services, We have different voters in our organization: so I need advices of "visible advantages" criteria is following: - easy to develop - easy to change - easy to connect to WinForms GUI - OOP model keep (transfer Objects and connect) - easy to deploy - speed ... - any else practical comparisons. I ...Show All
dustin1 Impersonation-Security ADVAPI32.DLL Problem
Im coding the security component for the current RP we are developing in my company, the main problem is that when I use the LogonUser function from this DLL, I can only validate ADMIN users.. i.e. I create the John.Doe user, in the LOCALMACHINE (AdminTools->UserConfig->LocalUsers) and then added it to the Users group. Try the mentioned function in a simple program and it fails... return to the control panel, changed the the permisions of ...Show All
Erdw WebBrowser control in a Windows Service
Hi, I need some help with the WebBrowser control. I'm writing a Windows service in .Net 2005 to monitor the up/down state of servers. One of the things I need to do is to check on the availability of URLs. So I added a WebBrowser control to the design frame of the form, and ran the service, and I simply get nothing from the WebBrowser control. I think this is due to the fact that there is no user environment associated with a service, and the We ...Show All
mGreenway brain cramp on SQLDataReader
I understand OOP in principle, but the application requires a code-level knowledge I just don't have yet. I'm trying to break pieces out into discrete entities and encapsultat them, but the problem I'm having lies in understanding the types of data that I'm passing around. eg. My datagrid demands an SQLDataReader object to populate its grid. If I have everything integrated (not OOP), it works fine, since I directly produce ...Show All
JoeJeff Resource editor suggestion?
I'm looking for a resource editor (for use with VS2005) that better than what's included in Visual Studio. Primary will be working strings, and some binary data. Anyone have any suggestions, recommendations TIA, Richard Thanks for the replies. I'll need to look more into using linked files and how to do about reading them from the resource file. I suspect that I'll also have the same issue th ...Show All
Cp1der Setting DNS suffix through .NET?
I'm trying to see if a machine has a domain suffix and if not add that suffix to the computer. I have something like this: System::Net::IPHostEntry ^rHostInfo = System::Net::Dns::GetHostEntry(System::Net::Dns::GetHostName()); String ^rHostName = rHostInfo->HostName->ToLower(); if(rHostName->Contains(".mysuffix.com")) { } else { rHostInfo->HostName = String::Concat(rHostInfo->HostName->ToString(), ".mysuffix ...Show All
jlang64 Can I add Microsoft.AnalysisServices assembly into SQL CLR stored proc
My general problem is that I want to make a runtime component that: will sit on the SQL Server machine will be called with a large xml parameter, then use AMO to define and process a new AS database Can be invoked from a non windows machine using jdbc or web services. Preferably jdbc. I made a CLR C# SQL stored procedure that references the Microsoft.AnalysisServices assembly (adding the reference to the project file using a text ...Show All
Smola VB.net 2003 installed with VB6. Now I cannot access remote SQL Servers
Hello I have been happily using VB6 for years and have had no problems with connections to remote SQL servers using ado. I have just installed VB.net 2003 Enterprise (cos is looks shiny and fun ;-) ) and when I return to continue programming in vb6 which I left on my computer I find it wont connect anymore to any server except the database engine on my own computer. At the same time I find that the enterprise manager of SQL ser ...Show All
Yogita Manghnani Basic Authentication usage resulting in System.Net.WebException: The request failed with HTTP status 505
I'm currently writing a C# client accessing a java web service supplied by Apache Axis. The java web service requires basic authorization so I'm configuring my generated proxy as follows: MyProxy proxy = new MyProxy(); proxy.PreAuthenticate = true; proxy.Url = http://someserver/somepath/services/ProxyService"; proxy.Credentials = new NetworkCredential("someUser","somePassword"); proxy.invokeMyMethod(); ...Show All
