-
- Server Application Unavailable
by Ģ&&am
- 2 Replies
- Last post
by GregSQL
- I have deployed a .NET Web Application which uses the .NET 2.0 framework on a Windows 2003 server.
I can access the application by running http://localhost/ProjectName
in a web browser.
When I try to run the application using http://servername/ProjectName
I get the following error message:
"The web application you are attempting to access on this web server is
-
- Update requires a valid UpdateCommand ...
by carlp22
- 2 Replies
- Last post
by Paul P Clement IV
- Hello, I have a problem I can't get past. I'm getting the error "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." when trying to update a dataset. The details: Using Visual Studio 2005 (VB 2005); I used the dataset designer to configure the dataset; I'm using Oracle, with Microsoft's Oracle data provider; I drug the data set, from the Data Sources
-
- How to unload DLL files that are in use.
by Mario N
- 14 Replies
- Last post
by Snetch
- Hi, i wonder if its possible to unload a DLL file that i allready added in "References" in C#... and then if its possible to load it again after i unloaded it..
-
- Excel, XML and OleDB
by Sean Fleming
- 1 Replies
- Last post
by VMazur
- Hi all, rather large question... I have an application that'll take in a bunch of data and export it to an Excel readable format. There also is a template file that states how the data should be saved. My app has a form for modifying the template, which is centered around a DataGridView. The user selects a template file, it is accessed using OleDB, read into a DataTable which is bound to the DGV.
-
- Setting a Threshold
by Anita
- 11 Replies
- Last post
by JohnWein
- Ok here lies the problem:
This is the code from a meter application. The meter will give correct readings( 10.39 ex.) most of the time but then it will give these outrageous readings like (5,693,4569 ex.). I cannot figure out where to put a string that will set a threshold to discard readings over 200. Can anyone help me with this one.
#region override void DecodeData(by
-
- Can I include a reference to a XSD namespace in c# and instantiate objects from that?
by Arock3
- 1 Replies
- Last post
by Martin Honnen
- I have a XSD file which details a complex type and simple type for a couple of objects I want to create with XML. Rather than create corresponding ENUM type and Entity classes in C# I was wondering if I could just include a reference to my XSD document (i.e., using http://www.example.com/myschema and then reference the types in code somehow.
Thanks!
-
- Using CGI from C#
by JohnnyTheDon
- 1 Replies
- Last post
by Jorg Jooss - MSFT
- I am creating a program in C#.NET that displays HTML. I want to be able to use PHP in that HTML. PHP includes a CGI executable, but I don't know how to use CGI in .NET. Does anyone know how to do that
-
- Cold startup performance
by Stefan Grasmann
- 10 Replies
- Last post
by Stefan Grasmann
- Hi all, we're writing a modular, real world smart client application based on .NET, Composite UI Application Block and Infragistics Netadvantage controls. We face significant cold start performance issues on Windows XP SP2. The application consists of 25 assemblies and all in all about 20 MB. I consider this a normal size for real world applications. The startup time is about 20 seconds on an aver
-
- Duplicate namespace problem while including xsds (with same target schema) in wsdl.
by PuneetK
- 3 Replies
- Last post
by John Saunders
- Hi All, I have a wsdl which includes more than one xsd's. All have the same namespace. (targetNamespace="urn:enquiry"). While running wsdl tool I get the following error: Warning: Ignoring duplicate schema with TargetNamespace='urn:enquiry' from 'http://www.hpi.ws/tradeservice/schema/Enquiry.xsd'. Warning: Ignoring duplicate schema with TargetNamespace='urn:enquiry' from 'http://www.hp
-
- display xmlnode in gridview
by AndoVB
- 1 Replies
- Last post
by Ramaraju
- The following returns an xmlnode
Code Snippet Dim xnode As XmlNode = _SD_Service.CreateObject(SD_SID, "cnt" , attrVals, propertyValues, ctctattributes)
the format of this return is
< xml version="1.0" encoding="utf-8" > <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://w
-
- AVOID THE ?DO YOU WANTO TO REPLACE IT?? QUESTION
by Mauricio Castillo E
- 4 Replies
- Last post
by Paul P Clement IV
- AVOID THE REPLACE FILE QUESTION
I`ve export the data of a data grid to an excel file, but everytime that i run the app the question doyo wan to replace it (the file shows, con anyone help me
Sub entrar()
'Start a new workbook in Excel.
oExcel = CreateObject( "Excel.Application" )
oBook = oExcel.Workbooks.Add
'Cre
-
- ASP.NET in Framework 3.0
by amc
- 3 Replies
- Last post
by Manan Thakkar
- I am playing with Windows Communications Foundation in Framework 3.0, and following an example, I found I needed ASP.NET installed, wchich seems to come with Framework 2.0. This means I will have both frameworks living together in my machine
Question is then, doesn't Framework 3.0 contain ASP.NET
thanks
-
- Save SQL results to XML, Use XSL to format Info
by Lawrence 007
- 2 Replies
- Last post
by Lawrence 007
- Hi,
I am playing with SQL for XML Auto, Elements and was wondering if someone could point me in the right direction. I have a query that I want to run on my form with button1. After it runs I want to use the output of the XML file and format that with my XSL document.
How do I create the XML file at run time
Thanks
Lawrence
-
- SSL certificate problem calling a webservice from an executable file, and this from a web application
by Borja Serrano
- 3 Replies
- Last post
by Borja Serrano
- Hi folks I'm having a curious problem. I have an executable application which calls a webservice that needs a SSL certificate to make the transfer. When I run the executable file from the console or in a .bat file, including his parameters, the application works right. No problem connecting to webservice and retrieving xml information. This executable really is designed to be executed by a web app
-
- problem while running my application from the remote server
by SayamiSuchi
- 1 Replies
- Last post
by Alan J. McFarlane
- i got some problems in running my application from the server...i have used ASP DOT NET 2005 and SQL SERVER 2005.Actually the web application i had made is run in my pc and our LAN.We are using the remote sql server and it's running quiet well.I dont have problem in the database..It's ok..Now i want to put my application in the remote server..i dont have much permission of the remote server..I was
-
- How to keep a session alive? HttpListener class?
by Lars553899
- 5 Replies
- Last post
by Lars
- Hi,
I need to set-up a server-side app. that can listen to an incoming request from a client e.g through a specific URI, and then enter a short negotiating session with the client.
A session will consist of typically 3-5 requests-responses going back and forth and exchanged data will be short byte arrays.
The client is rather restrictive and can't use anyting else then HTTP-P
-
- Problems with HttpWebRequest in C#
by Peter John287834
- 0 Replies
- Last post
by Peter John287834
- Hi,
I have developed a console application which sends request to a LiveLink application(third party) using HttpWebRequest object and gets response using HttpWebResponse object.
But unfortunately i am receiving only a few lines of data (HTML) content from the LiveLink (third party) application. The rest of the lines from the application are truncated somehow. But I could read complet
-
- is it possible to call a webservice under framework 2.0 in a webservice under framework 1.0?
by creaturita
- 2 Replies
- Last post
by Daniel Roth
- I am embarrased making this question, but my client and his hosting service can not be more ..... at the end we have to make a bridge, ws in 1.0 calling a ws in 2.0 calling a ws in WCF.
Can we call a web service under framework 2.0 from a web service made in 1.0
We are trying to make it work but we can't. Is there any protocol problem perhaps framework 2.0 implements soap 1.1 and fra
-
- CurrentPrincipal, SetThreadPrincipal and message pumps not playing nice
by wrdur
- 10 Replies
- Last post
by Roc Over Sky
- I'm having some problems using Thread.CurrentPrincipal and custom Principal/Identity object to do role based security. I have custom objects implementing IPrincipal and IIdentity. I'm using a database to store credentials, role memebership and permissions by role. I'm using the .NET 2.0 framework (specifically C# in Visual Studio 2005).
The problem I'm having is that depending on when I set
-
- Connect 2 clients
by NoSTaBoNN
- 9 Replies
- Last post
by RizwanSharp
- Hi,
Is it possible to connect 2 clientapplication to each other, without connecting to their ip's, so the server connects the 2 clients and then shuts down the connection with them. Example:
Client 1 <-------------> Server <--------------> Client 2
now the server breaks up the connection, but the 2 clients keep connected to each other. Client 1 <--------------> Cli
-
- Does string[] implement IList<object>
by nikov
- 7 Replies
- Last post
by Feng Chen - MSFT
- Code Snippet
using System;
using System.Collections.Generic;
static class Program
{
static void Main()
{
object s = new string [] {};
Console .WriteLine(s is IList < object >); // True
foreach ( Type iface in s.GetType().GetInterfaces())
{
if (iface == typeof ( IList < object >))
Console .
-
- PropertyInfo.SetValue, Object Type Not Working
by andrew_stardock
- 6 Replies
- Last post
by andrew_stardock
- Hello all,
I'm attempting to use PropertyInfo.SetValue. Unfortunately I cannot get it to work. Below you will find a test method. At the very end of the method at least one property in Obj should be changed (Ive verified this through the debugger), however it appears the same as when it was created.
Some notes:
Assume ObjectType is a Type of [ a ] valid class which contains
-
- printf("%5s", "1234567") / printf("%5s", "1234") equivalent for string.Format
by Florian Storck
- 6 Replies
- Last post
by Florian Storck
- Hi, I'm now trying more than 1/2 hour to find out what the equivalent in C# of the above statement is. string.Format("{0,-5}","1234567") won't do. I simply want to truncate or pad a string automatically to a specified field size in the same elegant way C/C++ does.... Is there a way to achive this I got lost in the thousands of formatting options for numbers and dates but did n
-
- Connection string Builder visual stuio 2005
by colinrobinson
- 1 Replies
- Last post
by J Russo
- Visual studio has a new connection string bulider and buildconnection function in the designers, if you use class designer. the comment/doc explains that it is the new designer dialog. but i dont understand how to call it from my winform app to prompt for a valid sqlclient connection.
Could someone demonstrate how to call this dialog from a deployed winform app (vb)
its located in
system
-
- When passing in year to GetDaylightChanges the wrong start and end dates are displayed
by Markm11
- 1 Replies
- Last post
by nobugz
- Been working on some things and looked at the example in GetDaylightChanges. Well since it is now 2007 and the daylight savings dates will change. If you put in a year other than 2007 say like 2001. The Start and End datetime properties are wrong. Run the example for GetDaylightChanges. The Example results show
Year Start End Change ---- ----- --- ------ 1960