mlee1steph
Programmer
Hi Everyone,
We are having a problem with Win2003k server and terminal server. The admin just setup a Terminal Server and installed an app I wrote in VB.Net (Version 1.1 of the .Nte Framework). After the install is complete, if we try and start the app. The app will not load. The screen flickered a little bit. We can't seem to run anything else, and if we try and restart the server, it won't load back up. The admin waited for a good hour and nothing. So they re-installed the server and today we tried again:
Today, I had them install my .Net app then run it (without terminal sever installed) and everything worked great. They installed Terminal Server again, then my app, and tried to run again. We got the same problem. Has anyone seen this issue before with any app, or an .Net Framework 1.1 app.
Is there a good article that covers the compatiable issues for Terminal Server(TS). I do have something that writes out to a file, but it never does it during startup (Only when data is saved), so this one could not have caused the problem, as it freezes at startup and displays no screens from the app. The only other thing it does at startup is to load a little data from an SQL Server database.
Is there a better way to write this code to work better with TS:
Public Sub appLogger(ByVal sDesc As String, ByVal sFrom As String)
Dim FileNum As Short
try
FileNum = FreeFile
FileOpen(FileNum, VB6.GetPath & "\App.log", OpenMode.Append)
WriteLine(FileNum, sDesc, sFrom, Now)
FileClose(FileNum)
Catch ex As Exception
msgbox(ex.Message )
End Try
End Sub
Thanks for any help.
Michael
We are having a problem with Win2003k server and terminal server. The admin just setup a Terminal Server and installed an app I wrote in VB.Net (Version 1.1 of the .Nte Framework). After the install is complete, if we try and start the app. The app will not load. The screen flickered a little bit. We can't seem to run anything else, and if we try and restart the server, it won't load back up. The admin waited for a good hour and nothing. So they re-installed the server and today we tried again:
Today, I had them install my .Net app then run it (without terminal sever installed) and everything worked great. They installed Terminal Server again, then my app, and tried to run again. We got the same problem. Has anyone seen this issue before with any app, or an .Net Framework 1.1 app.
Is there a good article that covers the compatiable issues for Terminal Server(TS). I do have something that writes out to a file, but it never does it during startup (Only when data is saved), so this one could not have caused the problem, as it freezes at startup and displays no screens from the app. The only other thing it does at startup is to load a little data from an SQL Server database.
Is there a better way to write this code to work better with TS:
Public Sub appLogger(ByVal sDesc As String, ByVal sFrom As String)
Dim FileNum As Short
try
FileNum = FreeFile
FileOpen(FileNum, VB6.GetPath & "\App.log", OpenMode.Append)
WriteLine(FileNum, sDesc, sFrom, Now)
FileClose(FileNum)
Catch ex As Exception
msgbox(ex.Message )
End Try
End Sub
Thanks for any help.
Michael