Upgraded Our Job Server To Windows Server 2008?

Sep 2, 2009

We recently upgraded our job server to Windows Server 2008. We have jobs we run manually in a folder (c:Custom Programs). Some programs are console programs others are have a gui. This one program has a gui.It also has a progress bar that shows the progress of the job when you click the go button. Of course it spawns a thread to do the processing. This thread creates a log file to write errors and other things too.

The problem is when the program goes to create the log file an access not authorized error is thrown. I checked the permission on the folder. All users are allowed to create/edit/append/execute. Pretty much everything except take ownership. Also, there's nothing that denies anything. So I see no reason why this isn't working. We can get this to work by using the run as administrator option when we first run the program. However, we don't view this as unacceptable solution. My only thought is the spawned thread isn't getting the same permission set as the program. Am I correct or does something think it's something else.

[Code]...

View 11 Replies


ADVERTISEMENT

IM014 -Term Server Upgraded To 64bit?

Sep 6, 2011

Public Sub theConnection()
Try
conString = "DSN=XXXXX;UID=XXXX;PWD=XXXXX;DATABASE=XXXXX"
con = New OdbcConnection(conString)
Catch
MessageBox.Show("Connection to the Spec Database was not made")

[Code]...

View 4 Replies

SQL Server 2008 Configuration For Client Server (Windows Form) Application

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

Access 97 And Windows Server 2008 R2 Farm Server?

Oct 26, 2010

We are currently using Access 97 as our database. This resides on the remote farm server (which is a Windows 2008 R2 server). We are using a front end vb6 exe which accesses the back end data.Occasionally we are getting corruption to our database and we have to make sure everyone exits the software to allow us to repair/compact it. There are 2 physical servers, each running 2 virtual machines. When the user logs onto the farm using RDP, they go to one of these 4 virtual machines.We are getting all kinds of corruption, some where # characters have been inserted into the top of one table, some where the indexes are corrupted, and some where access needs to repair the database.

View 1 Replies

Web Services - Change Authentication From SQL Server To Windows In Webservice (SQL Server)

Aug 20, 2010

Web service uses SQL Server based authentication how to change to windows based authentication both web server & Database service resides in different domain .

View 1 Replies

Code For Login To Windows Server (not SQL Server)?

Aug 24, 2011

I have a situation where I need to create a session in a Windows server using a specific Username and Password.

View 1 Replies

.Net And Windows Search (Win 2008 (x86) Server)?

Nov 17, 2011

We have migrated one of our websites from a windows 2003 machine with IIS5 installed.Search within the website also used an indexing service to search within a Catalog "index_pdf".The catalog indexed a folder on the server and Adobe iFilter 6.0 was used to be able to search through the pdf files. While migrating, we switched to another OS -> Windows 2008 (x86). On this machine we installed but now searching through .pdf documents doesn't work. We tested the website on a different server with different versions of PDF iFilters but unfortunatly without any result. Even on a Windows 2008 (x64) server with the 64 bit version of Adobe PDF iFilter we couldn't search through .pdf files.

Our findings:The classic Indexing Service in combination with classic ASP works. (filtering on pdf hasn't been tested)The classing Indexing Service in combination with ASP.NET doesn't work.On windows 2008 servers we have to use Windows Search, because IIS7.x communicates on a different way with the Indexing Service.Now we have to find a way to rewrite our excisting VB.NET code to a way in which it wil work with the new Indexing Service which we don't know to well yet.My question is how to approach this.

View 1 Replies

Impersonate On Windows Server 2008?

Aug 6, 2011

does anyone have a sample on how to impersonate on a windows 2008 server? my impersonate does not seem to work with 2008 server

[Code]...

View 7 Replies

VB 2008 And Windows Server 2003?

Mar 2, 2009

I am NOT allowed to install into Windows Server GAC. I am allowed to upload my program files to a shared drive, not the operating system drive.To begin, I created a simple Class Library .dll and uploaded the entire project folder to the shared drive. I have absolute permission to do anything with this drive and the computer. This class library has only (1) public property.I created a client exe. with a reference to the shared drive .dll. I do not want a local copy of the .dll into my client folder. I want all clients to use this shared copy on my shared drive. And I repeat, I do not want to install into the GAC. I also have full permissions on my terminal.I have created a key file (.snk) for my .dll, and set up assembly information (public id) and tested.I have tried without key(.snk file), and removed assembly information, and tested.Can someone point me into the direction to install/or not to install a MyClass.dll on a shared driveand be able to reference it from other applications?I do not want to use ASP.NET. This is just a base class. This is not a Web service. It seems Windows server 2003 wants this installed into the GAC (C:WindowsAssembly)I have to be missing something.

View 5 Replies

VS 2008 - Send Email In Application Directly By The Smtp Server But The Server Doesn't Allow?

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

VS 2008 Multi-User Chat Program (Server & Client) With Main Server?

Aug 10, 2009

Multi-User Chat Program (Server & Client) with Main Server?

View 1 Replies

Switch Network SQL Server 2008 R2 Database To A Mobile SQL Server CE *.sdf File

Nov 2, 2011

I have developed a VB.NET program using a strongly typed dataset. This dataset has its connection to a SQL Server 2008 R2. The software should now be additionally used offline. The database should be exported to a *.sdf database. If no connection to the SQL server is produced, the software have to try to connect to the *.sdf database.I would like to achieve:

1. Export the data in the SQL Server 2008 R2 database to a local *.sdf file.

2. This *.sdf file has to work as an alternate connection string in the strongly typed dataset.

View 1 Replies

VS 2008 Connection To Sql Server Failed (server/'localhost' Not Accessible)

Aug 18, 2009

I have simple code that connects to Sql database... (well it doesn't)

VB
Dim objConn As New SqlConnection("Server=localhost;uid=***;pwd=***;database=***")
objConn.Open()

ERROR MESSAGE:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)But looks like something is wrong with "localhost" thing. Any help? Where can I get name of (my) server?

View 34 Replies

.net 2.0 Windows Service Not Running On Server 2008?

Dec 4, 2009

I have a windows service written in .net framework 2.0. This service installs and runs perfectly fine on both XP and windows server 2003.We have a new 2008 box that we are migrating over to, so need to get this windows service up and running.When i try to 'start' the windows service on the 2008 machine, i get "Windows could not start the <service> service on local computer. Error 1053: The service did not respond to the start or control request in a timely fashion."I have searched everywhere looking for an answer, and all I could find was a fix attributed to .net framework 1.1 for this same error. That; however, is not applicable here, as the service was written in 2.0.

View 3 Replies

Connecting To SQL Server 2008 Using Windows Authentication

Dec 15, 2011

I have one more question. I am connectinag to SQL Server 2008, not express, and I keep getting the "login failed for user "...""[code]

View 7 Replies

Take Registry Backup In Windows Server 2008?

Mar 8, 2011

how will i take the registry backup in windows server 2008?

View 1 Replies

VS 2005 Windows Server 2008 Compatibility?

Feb 23, 2010

I have a VB.NET executable program that I've been running nightly as a Windows Scheduled Task on a Windows Server 2003 machine. I have the source code, and it was compiled using VS 2005. Now I want to run it on a Windows Server 2008 R2 machine. If I try to "open" it from Windows Explorer, I get "The version of this file is not compatible with the version of Windows you are running." It is in Program Files(x86), so doesn't the OS know to run it as a 32-bit application? Do I have to load this in VS2008 and recompile it there as a 64-bit app? But all my old VB6 and VBScript scheduled tasks are running fine, why is the OS only complaining about this program?

View 1 Replies

VS 2008 - SQL Server Login From Windows Forms App

May 26, 2010

The configuration is as follows
Remote SQLserver 2005 back-end
Windows Forms Front end (Visual studio 2008)

Is there a way to provide the username and password for the data connection from a Login form and not have it stored in a Connection string? Even better, is there a way to invoke the SQL login window each time the app starts? I need each user to be able to use his own (sqlserver) login everytime the application is started.

View 5 Replies

VS 2008 : SQL Server Login From Windows Forms App?

Oct 5, 2011

The configuration is as follows

Remote SQLserver 2005 back-end
Windows Forms Front end (Visual studio 2008)

Is there a way to provide the username and password for the data connection from a Login form and not have it stored in a Connection string?Even better, is there a way to invoke the SQL login window each time the app starts?I need each user to be able to use his own (sqlserver) login everytime the application is started.

View 1 Replies

(Vs 2010) Applications Stop Using Windows Server 2008

Jul 22, 2010

I migrated some applications from Visual Studio 2005 to Visual Studio 2010. I develope using VB.NET in VISUAL STUDIO 2010 on a Windows 7 PC (32 bit). The applications writed in VB.NET - VS2005 run correctly in PC having XP, VISTA, WINDOWS 7 and Windows Server 2008. After the migration, the exe of these applications work correctly in PC having XP, Vista, Windows 7 but work stop immediatly on Windows Server 2008. The error returned is 'System.InvalidOperationException'. Seems that the application stop when attempt to evaluate the first global variable that meets. If i change the framework from 2.0 to 3.5, things don't change.

[Code]...

View 3 Replies

IDE :: Setup Error Of VB 6.0 Application On Windows Server 2008

Jun 11, 2012

I packaged a VB 6.0 application using the Package and Deployment Wizard. After that I executed setup.exe in the package to setup the application. On Windows Server 2008 (32 bits), however, I received the following error when processing the setup:

[Code]...

View 3 Replies

Programmatically Modifying A File On Windows Server 2008

Nov 23, 2009

I have written a VB.NET 2008 application, incorporating Microsoft.Office.Interop.Excel, that modifies an existing Excel 2007 spreadsheet. It works perfectly on my WinXP development computer.When I upload the app to a Microsoft Web Server 2008, it opens the file and reads from the file, but when the app tries to save the file, it throws this exception:"System.Runtime.InteropServices.COMException (0x800A03EC): 'july2009.xlsx' is read-only. To save a copy, click OK, then give the workbook a new name in the Save As dialog box."The file is NOT read-only, nor is it opened by any other user or app.The app and the Excel file both reside on the D: (data-only) drive.My first instinct was to look at file permissions. When nothing else worked, I literally created a temporary Group, added EVERY user and security entity to it and granted the group full control of the entire D: drive. No luck.

Then I tried manually elevating the permission by running my app as administrator. No luck.Finally, I copied the file to my XP development computer and ran the app there. Of course it worked perfectly.Can anyone please tell me how to give my program permission to edit a file on Server 2008?

View 3 Replies

Sockets + Windows Server 2008 = Memory Leak?

Jan 29, 2010

We have a small service shows continuous nonpaged pool bytes increase from the moment it is started. This is only on a 2008 server (all the others work fine).

The service basically connects a socket to a client to see if it's successful and then closes (most code omitted):

[Code]...

View 3 Replies

VS 2008 : Write A Windows App That Will Download Files From A Server?

Jul 20, 2010

I'm trying to write a windows app that will download files from a server. It is working fine for small files, but not the larger ones (50Mb+)- I get the error "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."This is the code I am using:

Private Function DownloadFile(ByVal fileSource As String, _
ByVal fileDestination As String, _
ByVal WebRequestType As String) As Boolean

[code]....

View 1 Replies

Deploy 2005 With Crystal Report 9 On Windows Server R2 2008 X64

Dec 1, 2011

My problem is, when deploy vb.net 2005 with crystal report on Windows Server R2 2008, the report can't load it show blank. i'm using AxCRViewer91 component.

the DLL's;
AxInterop.CRVIEWER9Lib.dll
Interop.CRAXDRT.dll

Is it compatible on Windows Server R2 2008 x64?

View 1 Replies

File Not Found After Creation Vista To Windows 2008 Server?

Aug 31, 2009

Using VB6 to create a file and then open the file just created fails when run on a Vista client with Windows 2008 Server. The same code will work when run directly on the Windows 2008 Server or when using an XP client. If a Sleep 10000 is placed after the close, the program will work. What is the problem here? The code is as follows:

Option Explicit
Private Declare Function GetTempFileName Lib "kernel32" Alias "GetTempFileNameA" _
(ByVal lpszPath As String, ByVal lpPrefixString As String, ByVal wUnique As Long, _

[code].....

View 1 Replies

SerialPort Events Won't Fire On Windows Server 2008 Using .NET 2.0 Application

Jul 9, 2010

I have a program that reads data from a scanner via the serial port.This program works fine on Windows XP.We have a terminal server set up running Windows Server 2008.I run HyperTerminal on our test terminal, it connects and reads the scanner data fine through COM1.I run my app on that same test terminal and get nothing when I scan.My app connects to COM1 without errors and disconnects without errors.BUT, the DataRecieved event is NEVER getting fired.Neither is the ErrorReceived event.I have played with the Handshaking, with the RecievedBytesThreshhold and pretty much every setup setting I found.Set it up exactly like the settings on Hyperterminal.I have even tried starting a timer on a different thread to call ReadByte every second to try to KICK this thing into doing SOMETHING.Nothing has worked.

I have been trying to fix this for an entire day now.Added events to my class trying to see EVERYTHING that is going on. All I know is, it connects to the port and it disconnects from the port correctly but nothing happens in between.No data when I scan.No event fired at all between connecting to and disconnecting from the port.I have also downloaded other's simple serial communications applications.Nothing in .NET works.[code]

View 1 Replies

Showing / Hiding A Form On Windows Server 2008 RD Web Access

Mar 21, 2011

I'm having an issue with my app where IE will get brought to the front of the screen when I am switching between forms. Basically I have a form with the man menu which consist of a few command buttons that will start up another form once a user clicks on the button. I do not want the users loading up multiple forms in my application, so once they load one form I end up hiding the main form. So my code looks as shown below when a button is clicked.

[Code]...

View 6 Replies

C# - Thread Start In Form1() Crashing Program On Windows Server 2008

May 12, 2011

I'm getting a really strange error. I have a program that needs to run a thread on startup, and for some reason when I do myThread.Start() in Form1() it will crash with "program is not working" (But only on Windows Server, not on my local machine!). However, if I put the same code under button1_Start() it works no problem. What gives?

EDIT A little extra information: In my thread I have a line of code that uses invoke

Invoke(new Action(() => richTextBox1.AppendText(string.Format("Updating {0}..
", DateTime.Now))));

And for some reason the crashing goes away after I make the thread sleep for 2 seconds before it starts executing. Am I using the right method to execute code on the app startup?

View 2 Replies

DB/Reporting :: Multi User - Windows Application With Back End As SQL Server 2008 Express

Mar 17, 2009

I'm working on a multi user VB.Net windows application with back end as SQL Server 2008 Express. The SQL Server is installed on the intranet network drive. This is the connection string I will be using. Is this correct?

Data Source=.SQLEXPRESS;AttachDbFilename=Q:DatabasePrintDB.mdf;Integrate d Security=True;Connect Timeout=30;User Instance=True

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved