.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Web application doesn't deployed in x 64 bit environment

Posted By:      Posted Date: August 30, 2010    Points: 0   Category :.NET Framework
We have a web application developed in vb.net ,Asp.net,XSL,XSLT,XML,SQL SERVER(framework 2.0) and it is currently working fine in 32 bit environment. We are getting following errors when we deploy our web application in Windows Server 2008 R2 Standard Edition (64 bit environment) OR when we try to convert our web application as x64 bit application by recompiling our code base in x64 bit platform(VS2005 - x64 compiler settings). Error found in HTTPERROR log: 2010-08-26 12:24:56 ::1%0 51679 ::1%0 80 HTTP/1.1 GET /webview5439/Default.aspx - 1 Connection_Abandoned_By_ReqQueue .Net+2.0+App+Pool   Error found in IIS Log: 2010-08-26 13:33:17 ::1 GET /webview5439/Default.aspx - 80 - ::1 Mozilla/4.0+ (compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5 .30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 500 22 50 1015 Also we are getting a warning msg while recompiling our code in x64 code base platform(by changing all the dll reference to framework64 path). vbc : warning BC40010: Possible problem detected while building assembly '<Project Name>': Referenced assembly 'mscorlib.dll' targets a different processor vbc : warning BC40010: Possible problem detected while building assembly '<Project Name>': Referenced assembly '

View Complete Post

More Related Resource Links

Triggering Application_Start as soon as application is deployed

Hi,In my webservice  I have used a thread and  a timer, on application start I initialize the timer and timer controls the thread execution.public static void InitializeMessagingTimer() { _myThreadTimer.Change(_timerDueTime, _timerPeriod); } catch { //Log the exception } }  Thread fetches data from database, builds and sends the emails / sms according to data.My problem is  when the application is deployed or is reset because some change in web.config and if there is data to be processed in database, the processing does not start until some of the web method of webserivice is not accessed. Reason is because application start does not happen this means the timer is not initialized and thread is not started.Is there any way to trigger the application start as soon as the application is deployed? Or some way my timer starts without any external trigger.I understand it can be done with windows service however I want to achieve in a webservice / web application.Please help.-- Anup

Sdf file doesn't update once the application close

     i have configured for data sync setup using configure data synchronization wizard, then deploy the application in emulator. while run the application the data has synched back and forth from client to server on two way sync.  once application get closed the sdf.file is only having  existing data which is same as we got end point of configuration. we can view the updated data while run the application. but we restart application we didn't have the updated and newly inserted data . i don't know what i missed in config. it would be great help if anyone guide me.

Access denied in Vista for AttachDatabase in SMO for click once deployed application

I have a C# click once deployed application that uses SQL Server Express.  A database is zipped and downloaded to the client computer and put in a directory.  In the application, there is a button to display mdf files that can be attached.  The SMO method attachdatabase(databasename, string collection of MDF and LDF) are used to attach the database.  When I run this under Vista, I get an access denied error message.

When I try the attach, the user has admin priviledges.  The click once program has a digital signature.

I want the database to be attached by the application.  I do not want to use SSMS.
Robert Neal

SQL2005 and SQL2008 installed on the same environment - Application problems connecting to SQL2005 d


We have an environment with SQL 2005 and SQL2008 instances - failover 2 node cluster 64 bit.

We installed a new web application and we cannot connect to the databases on the SQL2005 instance.

We are able to connect to the database using the same credentials used by the web site using a udl file and using SQL Management Studio. However, the web site tells that we do not have authorisation to access the web site.

I wonder whether there is something to do with the fact that we have the two SQL versions on the same environment.

We had a similar problem on another mixed environment. On that particular case the connection failed on a SSIS package. We tried the same package on a SQL2005 and the package ran.

If the mixture of the two versions is affecting new applications to connect to the databases, is there a way around to resolve this problem? Unfortunately, the environments contain live databases.

Thank you in advance for your help.

why doesn't validation control stop application?


I use a validation control to check if value entered is numeric.  When I type letter in the textbox, the error messages shows for a second, then the application continues, and eventually throw exception. 

I'm going to add server side validation in code behind.  But I wonder why the validation control doesn't stop the application.  I don't see any difference between this web form and other web forms where validation controls work fine.

Could somebody tell me what may be the cause?  I'll appreciate your help!

ARR (Application Request Routing) doesn't work in SharePoint 2010 web application?


I'm trying to map a sub folder of a SharePoint 2010 web application to an asp.net web application on another server. For example, http://sharepointserver is a SharePoint 2010 web application and http://anotherserver/mapping is a non-sharepoint asp.net web site, and I want user access content of http://anotherserver/mapping via url http://sharepointserver/mapping.

What I did is:

1. I installed ARR 2.0 on Windows Sever 2008 R2 server which is hosting the SharePoint 2010 web application.

2. I enabled the server proxy in ARR module.

3. I defined a rule in SharePoint 2010 web application to catch request match mapping* and rewrite to url http://anotherserver/mapping{R:1}.

I will always get "404 NOT FOUND" error when I trying to access the url http://sharepointserver/mapping.

But if I do the same on a non-sharepoint website on the sharepoint server, it works, and it even works if I try on a SharePoint 2007 web application.

And if I use Redirect instead of Rewrite, it also works.

Anyone can help one this?


Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.

Application architecture in asp .net

Application Architecture is the most important process of developing a good application. Some people tends to jump into coding without any architecture laid. Later we see those people changing the architecture and finally the application had to be developed from the scratch with the correct architecture.

In this article I will describe some details about how you can improve the architecture of you application. This article is targeted to the beginner's audience.

Improving Application Performance in .Net

Application performance has always been a concern for Web Application developers. This article contains guidelines and tips for maximizing application performance in ASP.NET.

Logic behind N -Tier Application Development

In the arena of application development, developers all over the world use various programming languages, technical processes, and technical tools. While using number of technical & non technical elements the processes or methods become complex, for simplification of the application development process, developers use various techniques such as dividing the application architecture into layers or parts. In the professional & technical language this separation or division process is called N-Tier Application Development process, where "N" stands for number and "tire" stands for layers or parts.

How to create 3 tier application using LINQ

As you know that in 3 tier architecture there are three layers

User interface layer. (Is our Form in Windows application and .aspx page in Web application)
Data Access layer. (Which provides interface between Business logic layer and Database)
Business Logic layer.(Which stores your application logic)

Using Lightbox in an ASP.NET Application

The article describes Lightbox as, "... a simple, unobtrusive script used to overlay images on the current page." It delivers a nice, professional looking method for displaying images as overlays through the use of hyperlinks.

Application Architecture: An N-Tier Approach - Part 1


Free Trial: SQL Backup Pro
Sponsored by Red Gate
Exceptional DBAs make the most of their office hours. That's why they love Red Gate SQL Backup Pro. Its faster, smaller, secure SQL Server backups mean more time spare to accomplish more tasks and professional training. Make time to be an Exceptional DBA. Download it now! »

Free Trial: SQL Toolbelt
Sponsored by Red Gate
The SQL Toolbelt is a set of twelve powerful and intuitive tools that will help you burn through SQL Server chores with astonishing speed and accuracy. Download it now! »

Download: SQL Backup Evaluation Center
Sponsored by Red Gate
Download the T-SQL scripts in the SQL Backup Evaluation Center to compare Red Gate SQL Backup Pro's compressed backups with the size of backups created using native SQL Server. Download it now! »

Autodesk Inventor®
Go Beyond 3D To Digital Prototyping With Autodesk Inventor. Learn How.
Virtualization Solutions
Optimize, Simplify, & Save Today. Learn About Microsoft Solutions.
Microsoft SQL Server® 2008 - Free Trial
Download the Free 180-day Trial of SQL Server® 2008 Enterprise Edition!
Hot Careers in Internet Marketing
Get prepared for your new career with online degrees from Full Sail University!
Microsoft Te

Solidify Your C# Application Architecture with Design Patterns

design pattern can solve many problems by providing a framework for building an application. Design patterns, which make the design process cleaner and more efficient, are especially well-suited for use in C# development because it is an object-oriented language. Existing design patterns make good templates for your objects, allowing you to build software faster. This article describes several popular design patterns you can use in your own applications, including the singleton, the decorator, the composite, and the state classes, which can improve the extensibility of your applications and the reuse of your objects.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend