Hi, WCF Application is working ok. but when i use the visual studio access my machine remotely. the service channel fault state exception is coming always. have to change any setting to resolve this issue..Thanks..
anishkannan
Posts
-
WCF service is faulted when i work remote machine -
Draw circuit diagram using javascripti want develop a circuit diagram draw in online in my project module. like this circuitlab[^] Have any opensource jquery library for make this.please welcome, if have any more suggestion.
-
worker process with single to instanceIOC Container is new to me.. can you give some article related with web app.. i have doubt with this, it is applicable to asp.net web application ( page ) and also framework3.5
-
worker process with single to instanceIn my application i have to use singleton class.. and also enough single worker process. case is, when i start a application, it has created then working and if have any crash occurred, worker process created new one so it(singleton object) has been created again.. now i want to modify this single object getting entire( worker process).. my idea is 1) Can we create separate service for single instance application for processing. with service to iis communication via tcp using wcf. or 2) Can we assign that object to httpContext for keeping object to entire application. if i used this, its applicable all webservice method (ajax callback).. please clarify Any other idea?? please give proper idea for this concept..
-
Application variable with syncHi.. In my code, i have to do the process at a time with single request, for that i added one Application variable checking with true or false. Some times multiple user given a same request, have to say message. In rare case, this condition make as false.. so two request executing at a moment. so i will plan to make as a synchronize using lock( obj). object is static readonly. My doubt is, if i make web garden, it will run more than one process.. its may affect application variable or static object locking mechanism... Or any other mechanism have to follow. Suggest!!!
-
Remove popup modal dialog titleHow can i remove popup dialog page title like in ie --webdialog and message box title like (message from webpage)
-
Payable user creationPay pal okay. through, can user give debit or credit card account number; then, what are the steps i have to do for access pay pal library
-
Payable user creationI have to create a site with paid login user. If user need to be a member of this site , have pay some amount of money . for that how will handle transferred amount to our account. via credit card or debit card or online banking site. How can i do these? please give idea or article Thanks...
-
Suggestion needsI have load a xml file data to application. which is the best way to load the data 1) dataset load 2) XML Serialization 3) XMLDocument Xml has defined data only, but have around one mb data...
-
Database connection pool thr applicationOkay thanks!!!
-
Database connection pool thr applicationWe are using our own data access layer. which has
public DataSet ExecuteProcedure(string strProcedure, Hashtable hashTableParameters, string tableName, ref DataSet datasetToFill)
{
try
{
Open();// objConnection = new OracleConnection(strConnection);
// Procedure Execution
// data fill to dataset
}
catch (OracleException ex)
{
throw ex;
}
catch (Exception e)
{} finally { Close(); // objConnection.Close(); } return datasetToFill; }
Please tell me. if anything wrong in this ( i need correct in this code if has any mistaken ) we are using oracle sql developer client software. how check the connection pool in oracle db.
-
Database connection pool thr applicationThanks for reply... Your suggested option is the open statement execution then close; In Case, the single web request has multiple open and close; it have any problem? i face this : If access multiple user in many days, some times got exception as maximum pool reached in database side... Singleton : i mean that, single open at the time of first ; all statement execution then close
-
Database connection pool thr applicationHi... In my web application, we are using oracle database. my question is connection pool based on web application. Our application end user around 500. for these which connection is better i) create new connection for every request of user. ii) single connection pool via singleton object of the class iii) session based connection pool ( each user has separate connection pool) which principle is using for web application? can please give suggestion or valuable link to me --Thanks
-
Database connection pool thr applicationHi... In my web application, we are using oracle database. my question is connection pool based on web application. Our application end user around 500. for these which connection is better i) create new connection for every request of user. ii) single connection pool via singleton object of the class iii) session based connection pool ( each user has separate connection pool) which principle is using for web application? can please give suggestion or valuable link to me --Thanks
-
Web service callbackokay... Thanks for sharing but the thing is when I added web reference, coudn't get the method start with Begin(BeginHello). Its comes like HelloAsync. didnt get this type of proxy method automatically
MyService.BeginHelloWorld(AsyncCallback, null);
This is the call back method ok its comes after the webservice execution ,. but have to show that "completed web service" message to page. but in this case, its not reflected to page
void MyService_HelloWorldCompleted(object sender, ForLearnWebservices.localwebserver.HelloWorldCompletedEventArgs e)
{
lb1.Text = "completed web service";
//throw new NotImplementedException();
} -
Web service callbackhi, I needs some clarification for webservice. The scenario is, i have to call a webservice interface. which is performed more than three minutes ( ftp file upload and download process done by that webservice). which is taking some times to complete. So i used on the webservice proxy object property like
service.Timeout = 1000*60*5
its okay for webservice communication.but until that time we have to wait in our asp page. for that i created separate thread for webservice invoke.( thread is containing the class object is singleton). so when i used timer every time the class has the value or not . if there, i will shown to to the page. For this way, i have achieve my scenario. but incase, the user can close the page after invoke, in that case data's maintain the entire application ( The data stored in hashtable object as key and value) Have any option for achieve webservice performing long time?
-
Consuming webservicesI have to access some of data through webservices. The web services done by c++ which is hosted on linux machine. Normally when we consuming the webservices, we can do the add web reference. but in that case, we know only the ip address and port of the hosted server. How can i consuming that webservice method directly using visual studio 2008. Currently we know the methods of the web service, so just create sample web services in asp.net (*.asmx). then consuming that methods in our application, then changed the URL. Please provide correct way to consume that. Thanks
-
how to display menu control like code project top navigation and left panel menuYou can search on google. for reference: ASP.NET Horizontal Menu Control[^]
-
Thread Abort ExceptionThank for reply. This is not based on web request process. This is schedule based background work. the user can update the time of the scheduling from web page. on the application host the thread initiate the process.At beginning the thread started and waiting for that particular schedule time( which is getting from database)And that thread is waiting until that time using manualResetevent ( block the thread process using waitOne(milSec). If comes at the particular times, the process is read the xml file and that data would be updated to database. for that xml reading
XmlDocument configDoc = new XmlDocument();
XmlNode parentNode = null;
configDoc.Load(tConfigfilePath);
if (null != configDoc)
{
XmlNode Id = configDoc.SelectSingleNode("/CCC/AAA");
// Here the value set to object. which is datamember class.
Id.SetValue("ZZZ", detectOid.InnerText);}
Then that value inserted to database. Again that waiting for next day time using below code. In between time if any changed happened on the xml file, suddenly the catch ( with in a while loop) is catch the exception.
private void XMlreaderProcess()
{
long delayTimeSpanTicks = 0;try { while (Active) { try { triggerCtrl.Reset(); if (delayTimeSpanTicks == 0) { triggerCtrl.WaitOne(); } else { triggerCtrl.WaitOne(new TimeSpan(delayTimeSpanTicks)); } StartProcess(); } catch(Exception ex) { delayTimeSpanTicks = 0; } finally { } } } catch(Exception ex) { } finally { Active= false; }
-
Thread Abort Exception<System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.WaitHandle.WaitOneNative(SafeWaitHandle waitHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(Int64 timeout, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(TimeSpan timeout) > Exception like this. The web application, here on clicks, singleton object creates separate thread then that thread read a data read from xml file. using XMLDocument. then after read that file data updated to database, then waiting for another request for that, with in the thread ManuelResetEvent wait is performed, if comes next request from while onlick button its Ret and release the thread block and doing that same process. as per requirement,In between if needs, can change xml value dynamically, but when i edit that xml and saving, the thread was aborting automatically then entire application crashed. code is
private void XMlreaderProcess()
{
long delayTimeSpanTicks = 0;try { while (Active) { try { triggerCtrl.Reset(); if (delayTimeSpanTicks == 0) { triggerCtrl.WaitOne(); } else { triggerCtrl.WaitOne(new TimeSpan(delayTimeSpanTicks)); } StartProcess(); } catch(Exception ex) { delayTimeSpanTicks = 0; } finally { } } } catch(Exception ex) { } finally { Active= false; }