Get A Test 'developer Use' Authenticode Certificate Working On Server?
Oct 26, 2009
I have been trying to get a test 'developer use' authenticode certificate working on our server. We dont really want to pay for one until we have tested internally so we are using a test cert generated by tech-pro. So far i have:
- Installed certificate services sucessfully.
- Created a test certificate using tech-pro codesign.
- used signtool.exe wizard to sign the application.
- imported the test certifcate as a server root certificate.
All appears to have gone ok and without error but when i run the exe on a virtual VISTA machine logged onto the domain the program still prompts for the administrator to logon to elevate its priviliges. Is there another step im missing that requires me to specifically register the certificate directly on the virtual machine too? Or something else i need to do on the server to make that certificate valid for our domain?
I went to load an app I was working on before my system died a few days back and I loaded up VB Express 2010 .Net, opened my project and saw this error ...
Error1Unable to find manifest signing certificate in the certificate store.HexHelperProject
If this is related to the Security Certificates stored by XP, then I'm in trouble as they are GONE. Must I start a new project and rebuild this whole app?
I am having an issue getting the below error. This error is in a small mail app using smtpClient. I had this working on this same computer but had to reformat and now I am getting the error. The error does not display anymore info then what is below and do not know where or how to fix it.error: Unable to find manifest signing certificate in the certificate store.
In CRUD application development we have to face the issues with concurencies in Ids such as Generate and display UNique EmployeeIDs on forms. Currently i'm writting .DLL file that has a class that will handle concurrencies.
But i'm puzziled with the Question, is this concurrency handle is part of the software developer or Database developer?
I recently reimaged my PC and regrabbed one of our projects from Source Safe. In our solution we have a web service that normally runs on a server, however we can build the webservice on our localhost for debugging as well. However, now whenever I grab the project from source safe it is building the webservice as a website instead of a developer web server.
As far as I can work out I should be able to copy a web project/application to my IIS Web server and be able to see it as I do when designing it on my development computer.
The problem is once I copy the folder over to my web server and then try to view it the browser it says Error 404 not found. There must be a real simple fix for this. I would like to be able to develop ASP.NET sites using the Visual Web Developer instead of Dreamweaver but this little issue is stopping me.
i m getting problem inh my project, which in VB.NET.Actually i was developing a small software, to be familier with visual basic.NET, as i was coding with Visual Basic.everything was running very fine, day before i installed winXp again ( freash installeation). Then simply VS 2005,with out any error.Now i m able to open, my project, i can edit it, but if i try to build the executable, or compilation. it is giving strange error.below what error IDE is giving Code:
I am trying to make a little app that will tell me if my servers are online or offline, currently I am using my LAN to test my servers when this app is working then I will be adding IP Address from other hosts that are not on my LAN First of all I have got this working fine if I use a button for every server test but I don't really want that I want them all working from one click
Hi guys, we have an application which requires elevation to admin rights on VISTA/Windows 7 machine because it provides an ActiveX interface. We can't at present get around this requirement. With a manifest file and on a VISTA machine we get the UAC administrator prompt 'An unidentified program wants access to your computer' and logon request. Disabling UAC is not an option with our clients. I believe that authenticode signing the EXE will at least make the program trusted and thus remove the logon request. But I believe we will still be left with a grey prompt that asks something like 'Did you run this program, do you want to continue' - is this correct? Is there any way of getting rid of the prompts completely?
I have an ASP.NET MVC project that works fine on my local machine (no build errors, server errors or anything). However, when I publish the project to a test server, I get an "Object reference not set to an instance of an object" error on a For Each I have in my view.
Is there any way to detect if the DNS server is not responding for sure. That is because if I ping the server while my torrent downloads are in progress, I get a "Request timed out".
So I want to test one of my Functions in my Web Project, but it's not actually connected to anything in the project yet (someone else is working on that part). The Function takes in an "ID" field, goes off and does some queries and gets some data, performs some calculations on it, and then writes a bunch of lines to a FileStream and returns that stream. I pretty much just want to test it by having it write the file to my own computer locally, and working with that file directory after the Function completes.
So my question is mainly:
1) How do I call this Function just for testing purposes so I can test all the queries/calculations/File writes, etc without it being connected to another part of the application just yet.
2) How can I change the 'Return fs' for the FileStream to write to my own computer locally to view the file that has been written.
I have a small desktop Twitter client written in VB.NET (2.0). Works great. Some of my users have emailed me and said that the application isn't working for them because they are trying to use it on networks where a proxy server is part of the network connectivity equation.
if I could make a tcp server and client so he can restart a game server from a LAN connection. The game server is a test server for online playing games it allows users to test there created maps but after so many errors the program is told to close out the running server cause of errors. The problems are fixed just by restarting the server. I have the client working as far as i know (cant do a full test without a server). During the creation of the TCP client built within the server (to receive commands and send reply) ive used
I need a simple snippet that will allow the user to test the connection for the FTP server entered in a textbox and the username and password from 2 other textboxes. (Server = TextBox1.Text, U/N TextBox2.Text, PW TextBox3.Text) I forgot to note something obvious - there's a "Test FTP" button
I have a .Net 2 solution with some asp classic pages.I get a specified cast is not valid error when I access the page on my local. Below is the vb function where I get the Error:
Public Function Retrieve(ByVal vntSeqId As String, ByRef vntPart As String, ByRef vntPartKey As String, ByRef vntEntDate As String _ , ByRef vntStatus As String, ByRef vntOrigGblId As String, ByRef vntOrigNetId As String,
MVC3, VB.NET, using EF. I am working on coding up a simple function to handle checking for a valid MySQL connection. If the connection fails the test it will use the secondary server connection. This is required because our hosting provider does not provide failover or redundant MySQL servers. The problem is I tried to use a simple try catch method in the HomeController. This fails early because the Entity Framework is looking the connection that was set up when I set it up... Is there anyway to control that connection dynamically?
I am trying to test a number of stored procedures through SQL Server Query Analyzer. But am stuck when I try to test stored procedures that contain Output parameters.
We have a WCF service hosted in IIS that currently calls a VB6 DLL to do part of its job. This works fine, but we can't deploy the service to a 64-bit target environment without configuring IIS to run it in a 32-bit worker process.I am currently investigating ways around that restriction. Porting the VB6 DLL to .NET is not possible for various reasons, so I created an ActiveX EXE wrapper around the DLL in VB6, so that the service can run in 64-bit and the VB6 parts in 32-bit.
When I tested the service I got this error:
Type: System.UnauthorizedAccessException Message: Retrieving the COM class factory for component with CLSID {9AE7303B-D159-43F6-B1A5-52D297581820} failed due to the following error: 80070005.
After some Googling I found that this is due to either:
Calling an MS Office component DCOM permissions not being configured NTFS file permissions not allowing read/exec access to the IIS worker process identity (ASPNET in my environment)
Of these:
Definitely not applicable Also not applicable; I am not hosting the EXE in DCOM or COM+, just a simple COM out-of-process activation This looks likely; however, I checked the permissions, and NTFS reports that the Users group (which ASPNET is a member of) does indeed have read/exec access to the file I tried calling the EXE from a unit test fixture, which is executed in my admin-level account rather than the IIS worker process account, and it worked fine, so the error is definitely something to do with permissions. I'm not sure what to do next.
UPDATE:The IIS virtual directory is configured for Anonymous+Windows access; the WCF service uses only Anonymous authentication, the Windows authentication is for the VS debugger. Task Manager reports that the aspnet_wp.exe process is definitely running in the ASPNET account.I explicitly granted Read and Execute access to the ASPNET and IUSR_<machine> accounts on all the COM exes and dlls involved. This made no difference.
I explicitly granted Local Launch and Local Activation access to the ASPNET and IUSR_<machine> accounts on the relevant interfaces in the DCOM configuration. This made no difference either.Keep trying to get this working somehow.Go the whole hog and host the EXE in COM+.Give up. Tell users that the WCF service must be configured to run in a 32-bit app pool on 64-bit Windows.
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.
I have established code that calls GetShortPathName to convert, say, "r: estlongname" to "r: estlo~1". It works fine with our old server, and at various user sites. We've just got a new 64-bit server and the code no longer works, ie it does nothing so my program carries on trying to use the long name (later on in the code this causes problems because it's trying to write a batch file to perform an unzip & other functions). Any ideas why GetShortPathName isn't working? We're a small software company with no specialised network admin.
The code uses this declaration: Declare Function GetShortPathName& Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long)
I'm not very good at deployment and I'm facing a problem: First Off, I'm using Vista. i have created a windows application in vb.net which has a database file named Customerdb.mdf in it. I have selected the database and in the property, I have selected Embedded Resource option. I have used the following connection:
I am working on an application that pulls a field from a SQL Server table that has numeric values separated by commas, for example (1, 3, 4, 6). I need to load this field and somehow load it into a numeric array. However, I can't seem to come up with a good solution. Here is what I have tried:
Dim PagetoSign as Integer() PageArray = Split(_DataRowView("PagestoSign"), ",") Dim _PagetoSign As String = ""
[Code]....
However, I receive an error message when it enters the for each loop. I'm not married to this method if there is a more elegant way.
I have a query that is working fine on my local but when placed on the server it comes back with this error,
Server Error in 'Page' Application.
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
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.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. [Code]
In mt project im calling data from sql server to display in labels. Howerver when there is no data for a paticular customer im getting an error saying "There is no row at position 0." How can I set the row so that it doesn throw an error but just returns a blank lbl?