|
Still no1 answered
I was asking for setting
I guess that means that this is not avaialbel in .net 2003
Thanx Every1
Best Regards
3ala2
|
|
|
|
|
just3ala2 wrote: Still no1 answered
Errm. No, lots of people answered. They just didn't give you the answer that you wanted.
What you were talking about was the TRY/CATCH macros in Visual C++. These were compiled out of release builds because they effectively mapped in as:
#ifdef DEBUG
try
{
#endif
and so on. Now, as has been stated earlier, it is a bad idea to have debug code that does one thing and release code that does another. If you have an exception, you need to catch it and deal with it.
What you did wrong was to design your application to have try/catch in every method. This is normally bad design. Consider the following sample:
public void SetMyValue(string value)
{
try
{
_myValue = value;
}
catch (Exception ex)
{
}
}
What exception are you going to get here?
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
How i can send class between to website like client and server ?
|
|
|
|
|
Is there any way to call a web service without making a web reference in your project or generating proxy classes using wsdl.exe? The project I am working on involves calling a number of web services listed in the appsettings section of the web.config. The app will eventually test these web services for responsiveness. One of the requirements is that it should be configurable from the web.config and should not have to be recompiled upon adding a new web service. I googled a few hours yesterday with little results. Any ideas?
Thanks,
Scott Stocker
|
|
|
|
|
|
I know what WSDL is. I am looking for a .NET way to load a web service without a web reference in my project. I know that a WSDL definition will probably be key in accomplishing a dynamic call to a web service but I was unable to find code to accomplish the dynamic call I am looking for.
|
|
|
|
|
sstocker wrote: I am looking for a .NET way to load a web service without a web reference in my project.
Well since WSDL provides that capability perhaps you don't know what it is? To use a new web service your configuration information would supply the URL to the WSDL for the new service. Your code would then use the response WSDL to know how to format and where to send a request to the service. Of course the WSDL does not tell where to get the input parameters in your system or even what to do with the response data that might be returned from the web service so I don't really understand the point of all this, but there it is anyway.
led mike
|
|
|
|
|
Hi All,
I have a case that i need to browse through the directories and files of a unix server through C#.NET or VB.NET Code. Can anyone help me out???
Exact scenario of the problem is:
i need to ftp a file to unix server from windows machine through VB.NET Code. But Before that i need the check the unix server whether the file already exist or not in a particular directory of the unix server. If the file already exist in the unix server, i have to wait until the file to be removed in the unix server and then ftp the file to unix server.
gokulnath
|
|
|
|
|
Dear all,
I had crystal project which exports on demand subreport data to any format in vs.net 2003. It is working fine for both main report and sub report.
Now i am converting to vs.net 2005, it gives error. for the code :
CRD = crSubreportObject.OpenSubreport crSubreportObject.SubreportName)
Exp_stream = CType(CRD.ExportToStream(ExportFormatType.Excel), MemoryStream)
This code gives "Not Supported within subreports"
Pls help to export on demand subreport. Then only i will move to vs.net 2005.
by
Suresh Kumar
|
|
|
|
|
Hi,
I uploaded site in one folder of the ftp location. When i open url, it is giving me following error.
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
=================
I tried to change all 3 modes of customErrors but same problem.
Can anyone help me please?
Thanks.
|
|
|
|
|
Make sure it is case sensitive
Ghazi Hadi Al Wadi, PMP, ASQ SSGB, DBA
|
|
|
|
|
Is this running on IIS? If so, it may be an application name setting.
|
|
|
|
|
Yes it is running under IIS. I will not be able to change setting of IIS as it is remote server somewhere.
|
|
|
|
|
you have to find out if the "application" setting was set, or it may never work.
|
|
|
|
|
i have one .swf object how i have to call that flash to asp.net page
|
|
|
|
|
If you mean how do you put it on a web form, you add it using the <object tag. For instance:
<object width="200" height="150" >
<param name="movie" value="myFlash.swf" />
<embed src="myFlash.swf" width="200" height="150" />
<object>
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Include that .swf file in a page and include that page in ifram in that page where u want to use this swf file.
|
|
|
|
|
Safecom wrote: ifram
iframe is usually For including flash it's always
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
My Dear dnh
Read my Answer. I told that include that flash in a page and then include that page in ifram. I have used this. If u do not believe then go to www.arif.etradehouse.com and place an order
|
|
|
|
|
Server Error in '/' Application.
Could not use ''; file already in use.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Could not use ''; file already in use.
Source Error:
Line 26:
Line 27: 'Try
Line 28: Conn.Open()
Line 29: 'select cart_default_prod.pos from product,cart_default_prod where cart_default_prod.prod_id=prodid.prodid"
Line 30: If Not Me.IsPostBack Then
Source File: c:\domains\etradehouse.com\wwwroot\arif\code\ui\right_column\right_banner.ascx.vb Line: 28
Stack Trace:
[OleDbException (0x80004005): Could not use ''; file already in use.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +1054657
System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +53
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.OleDb.OleDbConnection.Open() +37
right_banner.Page_Load(Object sender, EventArgs e) in c:\domains\etradehouse.com\wwwroot\arif\code\ui\right_column\right_banner.ascx.vb:28
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Hi all,
I have developed a shoping card. In which there are different Payment Methods. There is a method Card Payment. When some place Order it rediret him to World Pay Secure Payment pages. The problem is that it doesnt give any error on Internet Explorer. When Some one use Mozilla then It does not redirect to World Pay Pages and also does't gave any error. Can any one explain and give me suggesion.
Thanks in Advance
with Best Regards
|
|
|
|
|
how are you redirecting them to the new page?
|
|
|
|
|
I m redirecting that with javascript code.
js_script_w = "document.frmworld.submit() ;" & Chr(60) & "/script>"
Page.RegisterStartupScript("Redirect", js_script_w)
Where frmworld is the name of a Form
|
|
|
|
|
There may be your problem. Do a redirect or transfer on the server side.
|
|
|
|
|
The problem is in your JavaScript. for Mozilla the HTML objects are retrieved using document.getElementById(OBJECTNAME).
i.e. document.getElementById(OBJECTNAME) is equal to document.OBJECTNAME .
The getElementById method will also works fine in IE.
|
|
|
|