PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ASP.NET Compile Error

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
m5sisk



Joined: 06 Feb 2008
Posts: 1

PostPosted: Wed Feb 06, 2008 5:37 am    Post subject: ASP.NET Compile Error Reply with quote

Hi all,

I'm trying to create a simple web form that generates a PDF using PDFSharp. Everything works fine on my system, but as soon as I upload the project to the server (all files, including the bin/ folder containing PDFSharp.dll) it throws a compilation error. The error is:

Code:
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30002: Type 'PdfDocument' is not defined.

Source Error:

Line 12:     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Line 13:
Line 14:         Dim oPDFDocument As PdfDocument
Line 15:         Dim oPDFPage As PdfPage
Line 16:         Dim oXGraphics As XGraphics


Source File: C:\cygwin\home\sisk\WebSite1\HelloWorld.aspx.vb    Line: 14


It looks like it isn't even recognizing PDFSharp.dll; any ideas as to why it's working fine on my local system but completely failing once it's uploaded to the server?
Back to top
View user's profile Send private message
myro



Joined: 11 Feb 2008
Posts: 2

PostPosted: Mon Feb 11, 2008 5:56 pm    Post subject: Reply with quote

in your visual studio open up you website, and try to compile it in "Publishing mode"

Build -> Publish WebSite.
make sure that the project have copied all the dll references in /bin/
let me know if it works or not.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com