473,804 Members | 3,353 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deploying ASP.NET application

jwk
I have built my project using a "deployment project" - I've added all the
correct Merge Modules as well as Primary Output and Content Files from
'Project Outputs' ; but the aspx pages still refer to dll's which are not
separately included in the build (ie they are CrystalReports dll's which I
can see from the build output have all been 'packaged' into the build).

When I build the project in the Deployment Project it does not alter the
page directive at the top of the aspx pages which still refer to dll's which
have been 'packaged'. Thus I'm getting errors when I try load the aspx page.
Nov 19 '05 #1
4 1092
Hi jwk:

Why does the @ Page directive need to change? It should be the same in
development as it is after deployment.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 25 Mar 2005 07:27:02 -0800, jwk
<jw*@discussion s.microsoft.com > wrote:
I have built my project using a "deployment project" - I've added all the
correct Merge Modules as well as Primary Output and Content Files from
'Project Outputs' ; but the aspx pages still refer to dll's which are not
separately included in the build (ie they are CrystalReports dll's which I
can see from the build output have all been 'packaged' into the build).

When I build the project in the Deployment Project it does not alter the
page directive at the top of the aspx pages which still refer to dll's which
have been 'packaged'. Thus I'm getting errors when I try load the aspx page.


Nov 19 '05 #2
jwk
Hi Scott,

The problem is that when I build the deployment project I just add the
Crystal Reports Merge Modules as required (these appear to add the dll's
into the main assembly). Thus the original dll's are not included in the bin
directory of the built project.

The assemblies referred to in the page directive have thus not been included
in the build bin directory

"Scott Allen" wrote:
Hi jwk:

Why does the @ Page directive need to change? It should be the same in
development as it is after deployment.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 25 Mar 2005 07:27:02 -0800, jwk
<jw*@discussion s.microsoft.com > wrote:
I have built my project using a "deployment project" - I've added all the
correct Merge Modules as well as Primary Output and Content Files from
'Project Outputs' ; but the aspx pages still refer to dll's which are not
separately included in the build (ie they are CrystalReports dll's which I
can see from the build output have all been 'packaged' into the build).

When I build the project in the Deployment Project it does not alter the
page directive at the top of the aspx pages which still refer to dll's which
have been 'packaged'. Thus I'm getting errors when I try load the aspx page.


Nov 19 '05 #3
You probably have seen this already; but it may help others.
http://msdn.microsoft.com/library/de...plications.asp

Have you tried copying the Crystal Assemblies to the Bin directory? I think
Crystal Reports assemblies are deployed in the GAC so it doesn't copy the
necessary assemblies to your bin directory.

Hope any of this information helps


"jwk" <jw*@discussion s.microsoft.com > wrote in message
news:80******** *************** ***********@mic rosoft.com...
Hi Scott,

The problem is that when I build the deployment project I just add the
Crystal Reports Merge Modules as required (these appear to add the dll's
into the main assembly). Thus the original dll's are not included in the
bin
directory of the built project.

The assemblies referred to in the page directive have thus not been
included
in the build bin directory

"Scott Allen" wrote:
Hi jwk:

Why does the @ Page directive need to change? It should be the same in
development as it is after deployment.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 25 Mar 2005 07:27:02 -0800, jwk
<jw*@discussion s.microsoft.com > wrote:
>I have built my project using a "deployment project" - I've added all
>the
>correct Merge Modules as well as Primary Output and Content Files from
>'Project Outputs' ; but the aspx pages still refer to dll's which are
>not
>separately included in the build (ie they are CrystalReports dll's which
>I
>can see from the build output have all been 'packaged' into the build).
>
>When I build the project in the Deployment Project it does not alter the
>page directive at the top of the aspx pages which still refer to dll's
>which
>have been 'packaged'. Thus I'm getting errors when I try load the aspx
>page.


Nov 19 '05 #4
If I remember, adding the right merge module (I think there were 2)
worked for me, although there was the trick of entering a license key
into the properties for one of the modules.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 25 Mar 2005 07:49:09 -0800, jwk
<jw*@discussion s.microsoft.com > wrote:
Hi Scott,

The problem is that when I build the deployment project I just add the
Crystal Reports Merge Modules as required (these appear to add the dll's
into the main assembly). Thus the original dll's are not included in the bin
directory of the built project.

The assemblies referred to in the page directive have thus not been included
in the build bin directory

"Scott Allen" wrote:


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1747
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules to some users and some modules to other users. This allows us to have a centralized application that contains all modules...but with the ability to have security for different groups of users. My question, is it possible to update just a one dll...
10
2084
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
3
1905
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
0
1425
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG. Initially, the machine environment variables were set to enable code development; however, I am facing problem deploying the application. To work with these wrapped libraries, the application seems to access a specific dll, for instance, let's say the C...
1
2639
by: dfererer | last post by:
Dear all, I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API ShellExecute("MyApp.appref-ms")),but not like under regular user account, some time,it acts as if the application is still not installed,it prompts to install first,especially after the Windows reboots. As we know, we need a service run in unattached situation.I don't know...
6
5540
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy. Thanks, Ryan
3
2617
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and putting it in the Program Files directory along with the application executable, no problem. The problem is this... The OleDbConnection knows of the database in an absolute location (i.e. C:\Documents and Settings\ApplicationDB\data.mdb
0
1372
by: Amit | last post by:
Hi,I am new to .net 2.0 and have just built one web application and deployed the application on web server. The problem which i am facing is that if i make any changes in the .cs files or aspx files then everytime i have to publish the site and give new upload for whole site everytime which i feel is not correct way of doing it.and if i give only appcode.dll file for upload then the application returns some parse error but if i give fresh...
0
2350
by: sanjaypasumarty | last post by:
Hello, I am facing issues when i am deploying application on WebSphere Process server. The appplication is not deploying successfully and showing some DB2 errors in the logs. We are unable to find out the solution with the SDLCODE and SQLSTATE. Please help me to resole this issue. Please check the below snipet. 0000013c BpelEngine E <Null Message> com.ibm.db2.jcc.a.SqlException: DB2 SQL error:...
8
2821
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET 2.0 application. But I followed the steps I do for a 1.1 ASP.Net applications. I get the following error message when I try to run it. The application run fine in VS2005 on the development machine. It is set up properlly as far as IIS 6.x is...
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.