473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Different Assemblies At Runtime

Hi

We have a serious problem here with a 1.1 web app that has been
upgraded to 2.0!

Our web app can optionally use Crystal Reports. This means that it
must be compiled on a machine with the Crystal runtime installed on
it. In ASP.NET 1.1 we could then deploy to a production server that
did not have the Crystal Reports runtime assemblies on it providing
that our code that used those assemblies was not executed.

In ASP.NET 2 this seems to have changed. If we build using the Crystal
assemblies but do not deploy them on a server (even if the code that
uses the assenblies is not executed) we get problems with the app. The
most obvious problem is that Forms authentication ticket starts to
"forget" roles that have been attached to it.

Has anyone had any similar problems?

Thanks,

Nick.

Aug 9 '07 #1
3 1166
On Aug 9, 4:51 pm, Kulgan <nickamcke...@gmail.comwrote:
most obvious problem is that Forms authentication ticket starts to
"forget" roles that have been attached to it.
I think the problem is not related to CR. Check if your new app is
properly configured on the server (.net version, web.config, etc)

Aug 9 '07 #2
On 9 Aug, 16:04, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On Aug 9, 4:51 pm, Kulgan <nickamcke...@gmail.comwrote:
most obvious problem is that Forms authentication ticket starts to
"forget" roles that have been attached to it.

I think the problem is not related to CR. Check if your new app is
properly configured on the server (.net version, web.config, etc)
Hi

I agree with you. I think to root problem is probably something to do
with class loading mechanisms in .NET 2. The key is that the
assemblies available at runtime are not the same as the assemblies
available at compile time. Has any had any problems like this before?

Nick.

Aug 9 '07 #3
On Aug 9, 6:09 pm, Kulgan <nickamcke...@gmail.comwrote:
assemblies available at runtime are not the same as the assemblies
available at compile time.
[...]
If we build using the Crystal
assemblies but do not deploy them on a server (even if the code that
You should build application and copy the assembly to your website's
\bin directory.

Aug 9 '07 #4

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

Similar topics

3
by: Mart Rogers | last post by:
We have a situation where we have decided (in an attempt to keep things simple) to stick to local assemblies rather than global ones. However we now have the following situation looming AssyA ...
12
by: Mark Broadbent | last post by:
Hi guys, just going through remoting at the moment and a couple of questions relating to .net in general has surfaced. Firstly I have seen in the designer that for the namespace and many of its...
0
by: Paul | last post by:
Snippet from web.config: <startup> <supportedRuntime version="v1.0.3705" /> <requiredRuntime version="v1.0.3705" safemode="true"/> </startup> <runtime> <assemblyBinding...
7
by: Oenone | last post by:
I'm sure there's an obvious way to do this, but I'm missing it so far. I have an ASP.NET application that relies on several DLLs to work. Currently in order to get my site working I have to put...
2
by: Luis Arvayo | last post by:
Actually it is: How to define the plugin assemblies path in order to find other assemblies which the plugin depends on. Example: If I have: c:\myapp\application.exe
2
by: ieg999 | last post by:
I have an ASP.NET 2.0 application that uses mulitple assemblies. I need certain assemblies to use .NET 1.1. These are library (DLL) assemblies used in my application. These same DLLs are also...
5
by: =?Utf-8?B?U3RlZmFuIEJhcmxvdw==?= | last post by:
I am experiencing a lot of speed issues on initial app loads where we are referencing 3rd party 1.1 assemblies from 2.0 code. Those 1.1 assemblies reference things like System.Windows.Forms...
6
by: =?Utf-8?B?d2lsbGlhbQ==?= | last post by:
Hi, I posted this in wrong group, so just re-post here. There are two ways to create web-based application or web service, from VS start page, click on File and New, two options you can choose,...
7
by: WTH | last post by:
I am now aware (I am primarily a C++ developer) that in C# if you reference the same interface from the same file in two different projects the types are actually incompatible. I found this out...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.