WCF Server Application Unavailable - Run Application Written In .NET4.0 (IIS6+)?
Oct 27, 2010
I am trying to run simple application (e.g. generated from template by VS.NET 2010) on IIS6. I changed it to run with .NET 4.0 (its application pool) and checked with regiis (this pool has 4.0). I also changed all possible httpHandlers (svc etc), to run with NET4.0. All possible rights are checked (i think so). Almost every request results in "Server Application Unavailable" (sometimes it is empty page with -2146232576 (0x80131700) value) and "...Please review this log entry to discover what caused this error to occur." but EventViewer and IIS Log are empty.
View 2 Replies
ADVERTISEMENT
Jan 8, 2011
My application connects to several SQL Server instances (Using SMO and ADO.net), these connections are all closed properly (I'm using Using), one connection is a SqlDependency for table change notification.
Part of the application establishes an encapsulated VPN connection to a remote system, this causes all network resources to be unavailable, including the SQL instances.
What would be recommended method of handling this scenario? Where a networksql disconnect is frequent but predictable.
I'm using connection pooling so have no control over re-establishing a connection, if I attempt to open a connection (Which retrieves an available connection from the pool) it will fail as soon as I attempt to use it. (As pooled connections are not tested to save overhead).
View 1 Replies
Feb 20, 2009
I have recently written a few TCP Client/Server classes for an application. The main thing I am worried about is if the server class is built efficient enough; I don't have any previous experience with tcp networking so I need someone to give constructive criticism and feedback on the design. I'll explain the server design below.At the very bottom of my framework is a ServerClient class, which is pretty much a TCP client with some extra methods, properties, and events. Each ServerClient continiously read for packets, once one in received, they raise a packet received event... this will come in later on.
The actual server class is simple, it uses another thread to endlessly loop waiting for connections. When a connection is found, it converts the TCP Client into one of the above ServerClients then adds event handlers for the packet received and disconnected events. Finally, it stores the newly created ServerClient into a hashtable with all of the other people who are connected to the server.
When a packet is received by one of the ServerClients it is forwarded to the server(because the event handler was set when the connection was established) and then in turn forwarded onto the application with the sender's ID.Just a brief overview, I'm not attaching any code because I don't like doing that. If you want to see it then send me a PM. I'm just looking for constructive feedback on the design; will this system work, will it scale with a lot of users, and how do large servers handle so many clients at one time?
View 6 Replies
Jan 14, 2011
I'm updating an old process that already exists, which works as follows:The user submits a form which runs the following asp (simplified, names changed):
[Code]...
View 1 Replies
Apr 28, 2009
This is a bit of unusual problem that I'm experiencing, but recently one of the users of a production application started reporting errors in the system. These were traced to a 503 Service Unavailable error when making a call to a web service used by the application.
Now here's the odd part, only the one user is affected by this issue. Other users of the application have not reported any errors. When the user logged on to a different machine that worked for another user, they still received the error.
View 1 Replies
May 18, 2010
I have written a program and it seems to work fine when i am running it in the environment.When I create a program to distrubute to another computer it will not run.I thought it might be a problem with the other computer but I tried to install it on the same computer I designed it on and it will not run there either.When I run it a message box pops up saying "Application cannot be started. Contact to application vendor."[code]
View 5 Replies
Feb 17, 2012
I have a function written in vb Public Function abc (ByVal x as Integer, ByVal y as String) As String
End Function
I want to call this function on click of a button in C# applcation.
View 2 Replies
Sep 26, 2011
I am a beginner in vb.net. I have made a project in this. Now I want to make it online.Also how to use asp.net with vb.net?
View 7 Replies
Sep 8, 2006
I have written a windows service to do some operation (in .net), im calling the same in .net it works quite fine without any issues. Now my problem is i need to call the same service which is written in .net from an VB application.
View 4 Replies
Dec 7, 2009
how to integrate the app.config file with an application written in VB.NET. Specifically I need to extract database connect strings from the app.config file.
View 2 Replies
Aug 2, 2009
I need to start MS Word 2003 from Inside VB Windows Application and Load a specific Word Document.
View 4 Replies
Sep 24, 2011
I have to run a thread create in the code.In the form1 i have a button that run the new separate thread for elaborate some data, so i need it for not freeze the form.I have inizialized thread:
dim th as thread = new thread (addressof elaborate)
And at the button.click event:
th.isbackground= true
th.start()
Now, at the form load i have iconized my program, but when i start new thread the tray icon is duplicated from it. I want to resolve that when start new thread it's not show new notifyicon.
(i don't have found anything online, only Multiple notification icons appear when using multithreading)
View 1 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies
Apr 11, 2012
I am new to working with SQL databases (and databases in general) so I do not have a lot of experience with how queries work and how I can practice them. When I was first learning xml and XPath, I found XPath Visualizer incredibly helpful after someone on stack overflow mentioned it to me.Due to this, I am wondering if a similar tool exists for SQL databases?Basically a tool that will allow me to connect to a database,enter queries and see somehow what the results would be like.
I have looked online a bit, however I have found relatively few options in terms of any utility that would do what I want, and that looks reliable.I will ultimately be writing an application to interact with an SQL 2008 server in vb.net, however for now I am just experimenting so I will know what I am doing when I actually want to create my application.So far I have managed to connect to the database using an OLE DB connection, but I am now looking for a way to experiement with queries without just querying and figuring out a way to interpret the results in my program. Basically I want to be able to remove the programming aspect of things so I can experiment with queries without needing to question anything in my code that is unrelated to the specific query.
View 7 Replies
Mar 29, 2009
I have been developing windows and web application using Visual Basic 2005 for a long time. Now i want to change from Visual Basic 2005 to Visual Basic 2008. I would like to know what ever projects i have done in visual basic 2005 will works in Visual Basic 2008. Will the existing code in visual basic 2005 supports Visual Basic 2008 or do i need lot of modification. I haven't used VB 2008 but i hear that most of the code which written in visual basic 2005 supports visual basic 2008. What are the things i need to take care when working the existing projects in visual basic 2008.
View 3 Replies
Jun 4, 2012
I have wrote an Application for a organisation and they had let the app run in their lan using Samba, it worked perfect. Now they want to work over the internet.The Problem is that I have written this app with Sqlite, that means its currently working so:They have a exe and the sqlite dll and the sqlite database on their samba server and they connected a network drive on their windows pc to run it. So that means every pc is writing over samba to the sqlite database.
I tried it over the internet, but like i thought sqlite is a local database and its very slow, even if the ping is under 50ms. I could create a tcp server, that handles all and writes all to the sqlite database, but I have already written around 20.000 code lines for the project, so that would be not the best option for the lazy me. I have used only one sqlite class in my client for querieng, so I thought that it could work without much work, if i would replace the sqlite database adapter with the mysql database adapter, since sqlite has nearly the same syntax then mysql.
View 2 Replies
Jul 7, 2010
Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.That is working, so, so far so good.My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?
I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there The nonplusultra would be that it only starts the server when you click on the shortcut.
View 4 Replies
Jan 26, 2010
When am trying read Windows 2008 serivices Remotely from 2003 server by using following VB Script :
'Objective: TO check the SQLServicesHeartbeat of all SQL Server services and send email
'if any state of service is not running
'on error resume next
Set iFSO = CreateObject("Scripting.FilesyStemObject")
Set oFSO = CreateObject("Scripting.FilesyStemObject")
[Code] .....
I am able to get read all windows 2003 servies, but not able to read Windows 2008 SQL Services Remotely, error throwing in the above line : Set objWMIService = GetObject("winmgmts:\" & strComputer & "ootcimv2").
View 1 Replies
Apr 6, 2009
My application scan through the excel files and generate a report having count of Activex controls in each excel file. But while running the tool from client machine we are getting an error on opening the file (for some file not all) and the files are located in the sever side, as follows:
"the rpc server is unavailable (exception from hresult : 0X800706BA)"
View 1 Replies
Aug 23, 2009
how I can go about having a ini type file so my.settings don't get over written when I load newer versions of my application?
View 3 Replies
Jun 22, 2009
the system is going to have two front-ends - one web application and one desktop application.The desktop application is going to be coded using VB.NET, and the web application in PHP. There's really no reason why the desktop application can't be replaced by a web application as well - except that one of the programmers seem to really want to code it in VB...However none of us have experience working with either of these pairs .
P.S. hosting service will be gotten from some provider and not be on the client's own server.
View 3 Replies
Feb 8, 2012
Alright, I have a vb6 LEGACY application and new Functionality (Form) written in c#. I have a VB.NET COM Class as a wrapper. I can launch the .NET Form just fine. THe problem I am having is closing the .net form from vb6.
Example:
In VB6, I have something like this:
CODE:
But it does not work becuase frmViewer is Nothing for some reason. how I should close the .NET form that was launched from VB6?
View 8 Replies
May 29, 2012
I have an application I have developed which works great on individual PC's. However I've had some interest from a few customers that asked if I have a network version for site licencing.If my app did not save any data or write any reg entries, this might have been ok. But it does to the local computer. I also built in my own copy protection and trial function that stores data in the registry on the local computer.What would I need to do to enable my application to run on a server/network share, so that the only a serial number needed is for the server?
View 3 Replies
Aug 11, 2010
i'm tying to send email in my application directly by the smtp server but the server doesn't allow me to do that.The application its used by everyone in the company, so i set the smtp client UseDefaultCredentials to True, but the server replies with this when i try to send an email:[code].....If i set the credentials by hand, the server sends the email. So my problem is how to make this work to everyone? I don't want to have one public/friend var all time in the application with the credentials of the current user?
View 9 Replies
Apr 6, 2012
Case : I'm creating an application (desktop application) with VB.NET (actually windows form), and using SQL Server Express 2008 for its database.
[Code]...
View 1 Replies
Jun 4, 2008
I need to read the email from the mail server that is in my intranet from my application server.
View 9 Replies
Feb 10, 2010
I planing to develop an application which can connect any remote server and pick the configuration information from server and show it in my desktop.
View 4 Replies
Sep 3, 2009
An application loaded on a citrix server executes with no problem. When we try to run the same program files on a virtual server, we get silent errors and we do not even see the application window appear. The program runs for a moment in task manager, but then closes down. BTW other .net apps run on the virtual server. Here is the error we see in the event viewer application logs[code]...
View 2 Replies
Jan 11, 2011
Using vb.net 2005 - FtpWebRequest for ListDirectory always gets 550 error The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
On both FTPListDirRequest.Method = System.Net.WebRequestMethods.Ftp.ListDirectory
FTPListDirRequest.Method = System.Net.WebRequestMethods.Ftp.ListDirectoryDetails
[Code]...
View 1 Replies
Apr 16, 2010
I have successfully automated a PowerPoint Metrics presentation with VB.Net. However, since there were many complicated calculations, it took quite some time to make the 120+ slide presentation - so I recently tried to revamp the application to be multi-threaded.
[Code]...
View 1 Replies