VB6 - Access 2003 Password Error

Hi
I have a VB6 application that connects to MS Access 2003 DB using ADODB . We have migrated to Windows 7 (64 bit) from XP and now I am getting the Error 3031 - Password Not Valid. A sample of the connection code is below
STRING_DB_ATTRIB = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & SERVER_LOCATION & DB_PATH & ";"
Set mCon = New ADODB.Connection
mCon.ConnectionString = STRING_DB_ATTRIB
mCon.Properties("Jet OLEDB:Database Password") = DROWSSAP
mCon.Open
Any ideas please?
Thanks in Advance

Hi,
Since VB6 product is not supported in this forum, you may go to these forums for support:
#Where to post your VB 6 questions
http://social.msdn.microsoft.com/Forums/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions
Thank you for your understanding.
Best regards,
Franklin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • MS Access 2003 PDFMaker Error

    OS: XP Pro Ver 2002 SP2
    App: MS Access 2003 SP3
    Adobe Acrobat 8 Standard 8.1.2
    I can't print Access Reports using PDFMaker unless I'm logged into the PC with admin rights. However printing to Adobe PDF does work without admin rights. I tried some of the suggestions in Tech Note 333235 with no luck.

    Yes, and no.
    I had the MS Access file opened, but not the table which I was writing to.
    I had been manually deleting, and recreating the table in MS Access each time I wrote to it via JDBC. I was testing different ways of handling SQLException.
    The JDBC examples in both books, and this website ended the update (or any) statement whenever there is an occurence of SQLException. I moved the try/catch inside a "labeled" while loop, so the program would append the error message to a log, and continue to process the next recordset until the EOF. I was successful after a few trials; it works better than the import function from MS Access.
    I think my clipboard was very full when I copied and pasted table several times.
    Thank you.

  • Username password error when ifolder admin access admin page

    OS: SLES 10 SP4 i586 + online updates
    OES2 SP3 + online updates.
    Today, I was configuring a POC demo of iFolder to a customer, and faced the following:
    iFolder configured with MS AD 2003, and initial configuration(simias-server-setup, ifolder-admin, ifolder-web) went smooth, without errors. But I can't login via ifolder admin(ifadmin) user when accessing Admin Page(http://ip/admin) I got incorrect username password error.
    As already informed, that iFolder configuration went smooth(error free) and iFolder Administrator account, plus iFolder Proxy accounts are all available in MS AD 2003, also I have provided the
    appropriate DN during configuration(but still I am getting 'username password' error when accessing admin page).
    logs says following:
    2011-12-01 16:31:18,403 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Change Log Service" service started.
    2011-12-01 16:31:18,404 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Local Domain Provider" service started.
    2011-12-01 16:31:18,422 [Simias Manager Start] INFO Simias.Service.Manager - "Simias iIdentity Sync Provider" service started.
    2011-12-01 16:31:18,426 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Journal" service started.
    2011-12-01 16:31:18,470 [Simias Manager Start] INFO Simias.Server.Service - Could not load the configured user provider - loading InternalUser
    2011-12-01 16:31:19,580 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Server" service started.
    2011-12-01 16:31:19,582 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Report" service started.
    2011-12-01 16:31:19,584 [Simias Manager Start] INFO Simias.Service.Manager - "Simias User Movement Plugin" service started.
    please help asap.

    Issue resolved by changing
    LdapResyncOnRestart=No
    to
    LdapResyncOnRestart=Yes
    Regards,
    Muhammad Sharfuddin
    Originally Posted by sharfuddin
    OS: SLES 10 SP4 i586 + online updates
    OES2 SP3 + online updates.
    Today, I was configuring a POC demo of iFolder to a customer, and faced the following:
    iFolder configured with MS AD 2003, and initial configuration(simias-server-setup, ifolder-admin, ifolder-web) went smooth, without errors. But I can't login via ifolder admin(ifadmin) user when accessing Admin Page(http://ip/admin) I got incorrect username password error.
    As already informed, that iFolder configuration went smooth(error free) and iFolder Administrator account, plus iFolder Proxy accounts are all available in MS AD 2003, also I have provided the
    appropriate DN during configuration(but still I am getting 'username password' error when accessing admin page).
    logs says following:
    please help asap.

  • I can no longer access a password protected Numbers file with the correct password. Error message only says the file "cannot be opened."

    I'm using Numbers version 3.2.2.
    Suddenly I cannot access my password protected Numbers file with the correct password. I have the correct password written down so I know I haven't made a mistake.
    The response box that pops up says that the file cannot be opened. There are no other options for me to choose from.

    Also, I tried to open it through an older version of Numbers but it sent this error message.

  • How do I view Migrate Data errors - Access 2003 - Oracle 10g

    I'm trying to use the SQL Developer to migrate data from an Access 2003 database to an Oracle 10g database. I followed the instructions found here:
    http://www.oracle.com/technology/tech/migration/workbench/files/omwb_getstarted.html
    I was able to complete every step except the actual data move. I exported the xml for the Access database, I captured the export and then ran the generation scripts on my target Oracle database (I'm using the same schema for the migration repository and the actual data). It created the tables with only one or two errors which I resolved.
    Now, when I select Migration->Migrate Data, I get the dialog that appears to start 4 or 5 threads and attempts to migrate each table. They all error and do not transfer any rows. I can see that there's one error per table, but I can't see the error text. I just know that an error occurred. Is there a log somewhere or is the error displayed somewhere else? How do I know what's gone wrong?
    Thanks.

    I too receive unexplained error counts using the Migrate Data menu selection and unexplained failures using the Generate Data Move Scripts menu selection. Permissions granted by role or direct grants should not be a problem, but a Migrate Data error appears in the Migration Log panel at the bottom of the SQL Developer window, "Failed to disable constraints: ORA-00942 ... ". No further details available on what constraints or why the error. No other errors were detected while following the instructions found in the Oracle SQL Developer Migration Workbench Getting Started guide. SQL Developer never migrates the data from the existing Access 2000 mdb file to the newly created schema objects in Oracle 10g using either method. The following roles and privileges have been granted to both the repository owner and the target schema owner:
    GRANT RESOURCE TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT CONNECT TO MIGRATE_USER WITH ADMIN OPTION;
    ALTER USER MIGRATE_USER DEFAULT ROLE ALL;
    -- 25 System Privileges for MIGRATE_USER
    GRANT CREATE ROLE TO MIGRATE_USER;
    GRANT ALTER TABLESPACE TO MIGRATE_USER;
    GRANT ALTER ANY SEQUENCE TO MIGRATE_USER;
    GRANT INSERT ANY TABLE TO MIGRATE_USER;
    GRANT SELECT ANY TABLE TO MIGRATE_USER;
    GRANT CREATE ANY TABLE TO MIGRATE_USER;
    GRANT UNLIMITED TABLESPACE TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT DROP TABLESPACE TO MIGRATE_USER;
    GRANT CREATE ANY TRIGGER TO MIGRATE_USER;
    GRANT ALTER ANY ROLE TO MIGRATE_USER;
    GRANT CREATE VIEW TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT DROP USER TO MIGRATE_USER;
    GRANT CREATE TABLESPACE TO MIGRATE_USER;
    GRANT GRANT ANY ROLE TO MIGRATE_USER;
    GRANT CREATE ANY SEQUENCE TO MIGRATE_USER;
    GRANT ALTER ANY TABLE TO MIGRATE_USER;
    GRANT DROP ANY TRIGGER TO MIGRATE_USER;
    GRANT DROP ANY ROLE TO MIGRATE_USER;
    GRANT DROP ANY SEQUENCE TO MIGRATE_USER;
    GRANT UPDATE ANY TABLE TO MIGRATE_USER;
    GRANT ALTER ANY TRIGGER TO MIGRATE_USER;
    GRANT COMMENT ANY TABLE TO MIGRATE_USER;
    GRANT DROP ANY TABLE TO MIGRATE_USER;
    GRANT CREATE PUBLIC SYNONYM TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT CREATE USER TO MIGRATE_USER WITH ADMIN OPTION;
    -- 1 Tablespace Quota for MIGRATE_USER
    ALTER USER MIGRATE_USER QUOTA UNLIMITED ON USERS;
    Operating system for both Access 2000 and Oracle 10g is Windows XP PRO SP2.
    Oracle SQL Developer is version 1.1.2.25 build MAIN-25.79 on Windows XP PRO SP2. All three are on the same PC.
    Since only the last step failed, I created a User DSN with the ODBC administrator. Then, linked the newly created Oracle table to Access via ODBC using the DSN created. Next, I created an append query with the source being the Access table and the target being the Oracle table. I moved the data by pressing the red exclamation mark.

  • Error while migrating from ms access 2003 db to oracle 10g in sqldeveloper

    Hello,
    i am working on migration project from MS access 2003 to Oracle 10g on windows XP sp2 plateform using SQL developer.
    it went quit smoothly till the "capture microsoft access" .so in this step the sql developer opens the access db in background... but while opening the file in background it gives error
    Object library not registered i tried many workaround but of no use..
    anybody's help in this regard would be well appreciated.
    thanks.

    Hi,
    Did you follow all the steps in the SQL*Developer documentation about preparing the Access database for migration -
    Oracle® SQL Developer User’s Guide Release 3.0 -
    2.2.4.3 Before Migrating From Microsoft Access
    and -
    Oracle® SQL Developer Supplementary Information for Microsoft Access Migrations Release 3.0
    2.4 Preparing the Microsoft Access Database for Capture
    The error also indicates there may be a problem with your Access installation so could you check that everything is okay with that ? I have found references that indicate a re-install of Office/Access will prevent the error.
    Regards,
    Mike

  • Removing admin password form Access 2003 database front end and back end

    We have a legacy database that has been passed down from the original creator, who is no longer with the organization. It was created in Access 2003. It has a front end and a back end. The original admin password can not be located and we are in the process
    of upgrading this application to 2010.  Is there a way to remove that password so we can make changes to the original files?

    Hi,
    What password are you talking about, the one created with the workgroup manager? That will be difficult since 2010 doesn't have the workgroup manager anymore. You can still use the database in the 2010 environment but you can't make any changes to the original
    database without the password.
    Maurice

  • I need a little help accessing my mail on my mac and my iphone 4s after changing my password on Yahoo as someone hacked my account. I can't get mail, I just get Password error every time :(

    Hi people,
    A little stumped for what to do here... I had my Yahoo hacked, changed my yahoo password (Yahoo is the account configured to 'mail' on both my mac and iphone)... however since changing my password I have found I can't access my mail on either with out it asking me to enter my password. When I do, it say's 'Password error'. Sometimes it re-directs me to the actual 'Yahoo' browser saying I need to verify my account, but basically I can't use the mail function on either device now! I know you may suggest deleting the account and re-installing it to each device and I feel this would probably work as well but (and this is the tricky bit)... all my NOTES are configured through Yahoo, only some are through icloud (which is odd). All notes are about 201, icloud about 77 and the rest on Yahoo and when I go to delete the account it says it will also delete all my notes :/ Now, I am a bit of a writer, and these notes are pretty sacred to me so losing them isn't an option. I don't want to lose them. Is there anything any one of you lovely peeps can suggest. It would be much appreciated.
    Tamsyn

    Yes, you have encountered Activation Lock (Find My iPhone Activation Lock - Apple Support). The only way that phone will ever be usable is if the owner the phone is locked to releases it (see: Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support). If you are lucky the phone is locked to the seller, so you can ask them to unlock it. If the seller is merely a middleman and the previous owner is not the seller it gets much more complicated. It's even possible that you bought a stolen phone, in which case you will never be able to use it and you should return it for a refund.

  • Issue exporting ms access 2003 to xml - error 35021

    I downloaded the latest version of migration workbench.
    I have access 2003 mdb. when I run the omwb2003.mde against it to export to xml, i get the following error
    Error #35021 - - Can't find project or library, c:\temp\plc.mdb Database Schema Export did not complete successfully.
    The access database is a design master (not a replica) and no security enabled.
    Access ODBC driver is 4.00.6019
    I downloaded and installed MDAC .
    Where do i go next - I wasn't able to find anything on error 35021.
    Thanks in advance for any and all help
    Peter

    I was having this 35021 problem but finally got it to work. I was running on win 2000, with Access 2002 installed. I tried it on another computer on the network, running win xp pro and the same version of Access 2002. I didn't get this problem, but after several minutes, the Access running the database to be exported would crash. The omwb2002 reported the schema written, but there was no output file.
    I had the omwb2002.mde on the file server, and the database being converted on the win2k machine. I moved both the omwb and the database to a local drive on the win xp machine, set the output directory to be on the local drive, and it worked.
    I did some further expirementing, and it seems to work fine as long as the omwb2002.mde is on a local drive of the machine it's going to be run on.
    The fact that it works on one machine but not another indicates that this problem isn't specific to the database being converted, but has something to do with the platform the conversion is being run on.
    I realize this isn't a fix, but a workaround. If you can't wait for tech support to fix this problem, my advice is keep trying on different machines until you get it to work. Make sure that the .mde is on a local drive.
    I hope this helps

  • Access 2003 - Repeated "You cant make changes to the database" error

    Hey all,
    Im having a very strange problem with Microsoft Access 2003, we work with old databases and when we open them up through Access 2003 we get the message "you cant make changes to the database objects" error, which is expected. However the laptop has started to repeat this message over and over about 8 times after the first time you click on it. Its very annoying to have to keep clicking to get rid of the error message. Its a very strange problem, any ideas on how to solve this or even to explain what might of happened will be appreciated.
    Thanks in advance
    P.S. It is not an option to update the database, we work with a program that uses an old 97 database and if you update the database the program will stop working.

    Hi
    Firstly it doesnt seem that this is a Toshiba notebook fault.
    This sounds more like a Microsoft issue.
    I would recommend checking the Microsoft knowledge base articles or/and contact the Microsoft support.
    I have investigated a little bit and found these pages. Maybe you will find useful infos.
    http://www.smartcomputing.com/Editorial/article.asp?article=articles/WebOnly/TechSupport/420w10/20w01.asp&guid
    http://support.microsoft.com/kb/824260/
    http://support.microsoft.com/?scid=kb;en-us;824278&spid=2509&sid=98
    Good luck

  • OLE object error when using with Access 2003 and Adobe Reader X

    I link to .pdf files in Access 2003 and since upgrading to Adobe Reader X yesterday, am unable to link to these files.  I receive an error stating "A problem occurred while accessing the OLE object". It goes on to tell me to verify that the file is where I say it is and that it is accessible, which it is.   I can go to that file in Adobe Reader and open it.

    Disable the protection mode in the preferences of Adobe Reader.

  • Snapfish access works, eprint site gives system error or invalid password error

     I just installed an HP Photosmart 7525 all-in-one printer, and I am trying to get access to the ePrint site.  I have a working Snapfish account.  I have tried to create an account at the ePrint site. The site recognizes that I have a Snapfish account, and after I am prompted to provide my Snapfish password, I get a "System error. Please try again" message. This keeps happening.  How can this be fixed?  I have a Macbook and have tried this using Safari and Firefox.  The browser makes no difference. I get the same message. I have tried logging into the ePrint site with my Snapfish credentials, and I get an invalid password error.  Please help.  Thank you!

    Hi,
    I thought they've fixed this because I, myself, had to use TWO differrent email addresses for 2 accounts. Before try another email address, please clear cache and try again. Hope this helps.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Access 2003 Embedded OLE Object + Acrobat Reader 9.2 error on close?

    This seems to be a known problem without a known solution.
    We have a SQL database backend and an Access 2003 frontend. The Access client displays scanned PDF documents via an embedded OLE Object field.
    Up until recently, we had been using Acrobat Reader 6.0 as the default viewer, but we switched up to 9.2 so that our staff could read external PDFs with security/encryption,etc. When an embedded PDF is viewed now through the Access client, an error is thrown when Acrobat Reader is closed, indicating that an OLE server was not registered, or needed to be re-installed. This did not happen with the Acrobat 6.0 client.
    Is there any automatic behind-the-scenes file updates being performed when Acrobat Reader 9.2 shuts down? It seems like some information is trying to be written (maybe a timestamp?) and is kicking back an error when it can't update the target file.
    Is there a workaround for this? I need the ability to read secured PDFs, but I also don't want my users having to needlessly deal with persistent error messages.

    Disable the protection mode in the preferences of Adobe Reader.

  • SQL Exoress 2008 import export Wizard wont import Access 2003 mdb to SQL 2008 DB

    Just installed SQL Express with Tools, including SSME and Import Export Wizard.
    Attempted to transfer Access 2003 DB tables from an mdb file to a SQL 2008 Express DB.
    I can view the data in the tables in Access, however, when I tell it to  do the deed, it begins the process and then errors out with a Error 0xc020801c:
    "TITLE: SQL Server Import and Export Wizard
    Could not connect source component.
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    ADDITIONAL INFORMATION:
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)"
    I am unable to find anything that translates this into something mere mortals can deal with.  This is repeatable.
    Steps in the wizard:
    1.  Source: Data Source selected is "Microsoft Access".  The filename is correct.  The username is correct.  The password is blank (there is no password in the Access db).  Clicking on the "Advanced..." button, I get the opportunity to "Test Connection".  I test the connection and the test is successful.
    2.  Destination: I select my server name and the SQL Native Client, select Windows Authentication, and Select my SQL 2008 Express db from the dropdown list.
    3.  Specify Tabloe Copy or Query: I select Table copy
    4.  Select Table or Views: I check the tables I want to copy and successfully preview the data in each table that I checked.  I click on "Edit Mappings ..." and verify that I want to create a new table for each checked table.
    5.  Run package: I accept the pre-checked "Run Immediately" and click the NEXT button
    6.  I get the following:
    "Source Location : C:\Users\wb5rvz\Documents\StatisticsApp_V3_69.mdb
    Source Provider : Microsoft.Jet.OLEDB.4.0
    Destination Location : SHACK_PC\SQLEXPRESS
    Destination Provider : SQLNCLI
    Copy rows from `ParentingStats` to [dbo].[ParentingStats]
    The new target table will be created.
    Copy rows from `Statistics` to [dbo].[Statistics]
    The new target table will be created.
    Copy rows from `StatsSummary` to [dbo].[StatsSummary]
    The new target table will be created.
    Copy rows from `Volunteers_Confidential` to [dbo].[Volunteers_Confidential]
    The new target table will be created.
    Copy rows from `YearMonthTbl` to [dbo].[YearMonthTbl]
    The new target table will be created.
    The package will not be saved.
    The package will be run immediately.
    Provider mapping file : c:\Program Files\Microsoft SQL Server\100\DTS\MappingFiles\JetToMSSql9.xml"
    7.  I click the FINISH button and I get
    "Initializing Data Tasks .... Success"
    "Initializing Connections ...Success"
    "Setting SQL Commend ....20% Compoete"
    "Setting Source Connection ...Error (and an error link)"
    (All following tasks were "Stopped"
    Error detail is:
    ===================================
    Could not connect source component.
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (SQL Server Import and Export Wizard)
    ===================================
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
    Program Location:
       at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.AcquireConnections(Object pTransaction)
       at Microsoft.SqlServer.Dts.DtsWizard.Execute.SetSourceConnection(Exception& ex, TransformInfo ti)
    OS is Vista Home Premium SP1 (32 bit)
    Processor = Intel core 2 duo E7200 @ 2.5 GHz
    SQL Server Software was just downloaded yesterday, so it is whatever is current on the download site:
    SQL Express with Tools
    So, how do I get this transform to work?  I do not have nor do I want/afford to put Access 2003 on this machine.
    Thanks
    RRR

    I had this similar problem - 32-bit SQL Server 2005 trying to import tables from Access 2000 .mdb file, same error:
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (SQL Server Import and Export Wizard)
    ===================================
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
    I know you said you clicked "Advanced..." and Test Connection when you chose your Access database - but that is what resolved the error for me.  I chose my .mdb file, username is admin, password is blank, but if I don't click the Advanced button and test the connection before continuing on, the import fails with above error message.  Go figure, since the username/blank password is correct. 
    FWIW, sorry if that doesn't help you though.

  • Access denied. Error in File C:\WINDOWS\TEMP\

    I have searched on Google and all over this forum and none of the solutions have fixed my problem.
    Crystal Version: Crsytal.Net for Visual Studio.Net 2005
    Server: Windows Server 2003
    Error:
    Access denied. Error in File C:\WINDOWS\TEMP\JuryDutyReport {D6296178-3E72-483E-B876-2DFC03D00841}.rpt: Access to report file denied. Another program may be using it.
    When I run my app locally through the Web Server that comes with ASP.Net, everything is fine, it is only when I deploy the application to the Windows 2003 Server that I get the error.
    I'm using impersonation in my ASP.Net application.  I have given that domain user full access to 'C:\Windows\Temp'', the export folder and even the folder where the Crystal Report resides on the Server.  When I run the application on the Web Server, I actually see the ".rpt" get created in the "C:\Windows\Temp" folder but yet it still says there is a permissions error.
    What is bizarre is that the code below that just sends the file to the printer automatically works:
      private void PrintJuryDutyReport(DataSet ds)
            //create report document
            ReportDocument crDoc = new ReportDocument();
            //load, set datasource and print options
            crDoc.Load(Server.MapPath("~/Reports/JuryDutyReport.rpt"));
            crDoc.SetDataSource(ds); //set datasource
            crDoc.PrintOptions.PrinterName = ddlPrinters.SelectedValue.ToString(); //set printername
            crDoc.PrintOptions.PaperOrientation = PaperOrientation.Portrait; //set paper orientation
            crDoc.SetParameterValue("ParamUsername", User.Identity.Name); //set parameter
            crDoc.PrintToPrinter(1, false, 0, 0); //send to printer
    I have to change the code to export to a PDF and this code doesn't work:
        private void PrintJuryDutyReport(DataSet ds)
            //report document
            ReportDocument crDoc = new ReportDocument();
            string myfile = @"G:\COPFS\COPFSPROD\ReportsTemp\MyPDF.pdf";
            //load, set datasource and print options
            crDoc.Load(Server.MapPath("~/Reports/JuryDutyReport.rpt"));
            crDoc.SetDataSource(ds); //set datasource
            crDoc.SetParameterValue("ParamUsername", User.Identity.Name); //set parameter
            //export through http
            crDoc.ExportToDisk(ExportFormatType.PortableDocFormat, myfile);
            crDoc.Close();
            crDoc.Dispose();
            Response.ClearContent();
            Response.ClearHeaders();
            Response.ContentType = "Application/pdf";
            Response.AppendHeader("content-disposition", "attachment; filename=" + myfile);
            Response.WriteFile(myfile);
            Response.Flush();
            Response.Close();
    Any help is greatly appreciated as I have to present this to end users tomorrow.

    Don, thanks for the response.
    As a last ditch effort, I granted "modify" to the Network Service Account on C:\Windows\Temp and that fixed the error.
    There are two things that are troubling about this:
    1) I'm impersonating a domain user in my ASP.Net application and when the PDF is created, the owner is that domain user, so I know impersonation is working.  So I wonder if ASP.Net picks and chooses what account it runs under at different times?
    2) It is a little scary for the Network Service Account to have this access but that people seem to be fine with it.
    http://aspadvice.com/blogs/rjdudley/archive/2005/03/14/2566.aspx

Maybe you are looking for

  • A better way to Double Click

    I have been wondering if there is a better way to detect single clicks Vs double clikcs than the model currently implemented. I am sure all of you have run into the problem of even though an event listener detects a double click eventually, it detect

  • Auto Forward to next field?

    I have had this program for a very short time and have created my first form. On the form I am requesting an account # that is between 6 and 7 digits using a total of 7 text fields to separate each character in the account #. Is there a way to have t

  • ASM problem

    Dear DBAs , please help. i came today and i found that the database is not able to write the archivelogs the the storage. i'm using ASM whith a raw device partions. after restarting all crs components and the asm services, i tried to go into asmcmd t

  • Set up recurring event in calendar

    I want to set up an event which happens every second Thursday of each month. If I select monthly it puts it on the same date each month which is not necessarily the second Thursday. I can do this on calendar on my Mac but can't figure out how  to do

  • Lost vision llb files in 8.6

    I am trying to open a vi that was obviously created in 8.5, then upgraded to 8.6.  I am now being peppered with 100's of cannot find the llb errors, which for every single one I have to find the correct file, then select the function from the llb.  I