I have an ASP.NET app that was compiled on a 32-bit machine. There are many different assemblies that are referenced. I opened the web site's main dll with ILDASM and looked at the .corflags. It stated it was ILONLY. However, when I run the web site locally on the 64-bit machine (Windows XP Pro 64-bit), I get "is not a valid Win32 applciation".…
Hi, so I'm very very far from an expert on MVC or ASP.NET. I just want to make a few simple Controllers in C# at the moment, so I have the following question;
Right now I have the connection string used by the controller, -inside- the controller itself. Which is kind of silly when there are multiple controllers using the same string. I'd like to…
HI,
I have created a asp.net solution with two applications. They bothe use the same database which is setup with .net membership and roles.
Application 1 uses the membership for sauthentication to an administration area - this works fine.
Application 2 - has a different applicationID to App1. I want to be able to use the existing user account to…
Hello, i'm trying to work with asp.NET Dynamic Data. So, I see asp.NET Dynamic Data not well learned by people as other technologies.
now, to my question. Lets us work with Details.aspx page that located on ~\DynamicData\PageTemplates I need to add <asp:DynamicControl runat="server" to page into Form1.detailsTable.
i've tried like this:
…
Question: The following C# code:
public event RemoteAPI.NotifyCallback Notify
{
add { s_notify = value; }
remove { Console.WriteLine("TODO : Notify remove."); }
}
How do I convert this to VB.NET ?
It implements an interface:
Public Interface ICallsToServer
''' <summary>
''' Function to call the server from…
Is there any way we can make the ASP.NET 4.5 Bundling functionality generate GUID's as part of the querystring when running in debug mode (e.g bundling turned OFF).
The problem is when developing locally, the scripts/CSS files are generated like this:
<script type="text/javascript" src="/Content/Scripts/myscript.js" />
So if i change…
I'm running into an issue upgrading a project to .Net 4.0...and having trouble finding any reason for the issue (or at least, the change causing it). Given the freshness of 4.0, not a lot of blogs out there for issues yet, so I'm hoping someone here has an idea. Preface: this is a Web Forms application, coming from 3.5 SP1 to 4.0.
In the…
My Situation:
I have 1 asp.net application with both aspx pages AND webservices
I make calls (using ajax) to the webservice from an aspx page - all within the same asp.net application!
Here is my problem/question
Is there any way to share the session state?
I.e. - the aspx page has a sessionID and the state is being maintained. When…
Hello stackoverflow,
I think there are not many people who don't think that ASP.NET MVC is one of the greatest technologies Microsoft gave us. It gives full control over the rendered HTML, provides separation of concerns and suits to stateless nature of web.
Next versions of framework gaves us new features and tools and it's great,…
I have an issue with Lucene.net. It throws a lock exception. After poking around i notice these things.
My code below works in an app bit when calling in Application_Start i get a NoSuchDirectoryException.
Not closing the writer (as my code doesnt do below) i WILL get a LockObtainFailedException with the message
Lock obtain timed…
I'm working on an ASP.NET website where I am using an asp:repeater with paging done through a VB.NET code-behind file. I'm having trouble with the database connection though. As far as I can tell, the paging is working, but I can't get the data to be certain.
The database is a Microsoft Access database. The function that should be…
Hi all, I am trying to polish up a program a program that I have converted from a Windows Form in to an ASP.NET Web Application. I have several questions:
1.) I have a drop down box where users can select their variables, but users can also enter their variables manually into various text fields. What I want is for the drop…
Hi,
I have upgraded my web application from 3.5 to 4.0 to get benefits of the new features of ASP.NET 4.0.
When i try to get Route Data Values; Page.RouteData.Values["customerId"] with this code i couldn't reach the RouteData.Values collection the Page class doesnt contain a member called routedata.
I also have the same…
With asp.net 4.0 Microsoft has taken a great step for rendering controls. Now it will have more cleaner html there are lots of enhancement for rendering html controls in asp.net 4.0 now all controls like Menu, List View and other controls renders more cleaner html. But recently i have faced strange problem in rendering…
All of a sudden our VB ASP.Net 2.0 WebSite Project started complaining that Exception was not defined.
I have discovered that if I add "Imports System" to the header, or explicitly use System.Exception that it works, but this error permeates a lot of other System descendants like the Data namespace, and the DateTime…
Hi,
I have an application I have just deployed which, for complicated reasons, stores all the data from the database in a module the first time any data from the specific table is required (i.e. when a customer requests to view a product for the first time, all the product data is stored in the ProductManager class…
Hi
I have a page that sends an email on ASP.NET MVC Page.
All the Text is displaying but the image is not displaying.
Any workaround.
Appreciate your responses.
Here is my code:
MailMessage mailMsg = new MailMessage();
mailMsg.IsBodyHtml = true;
mailMsg.From = new…
Hello,
so far I've been using ASP.Net 3 BETA. Everything was working fine till the update to RC2 version. Of course I've read ScottGu's article about RC2.
My problem is following. Basically I have 2 controllers:
public class DynamicPageController : Controller
{
public ActionResult…
I have .Net 3.5 SP1 WPF application which I'm successfully deploying to client computers using ClickOnce. Now I got new requirement - one of our clients need to run the application on machines equipped just with .Net 3.0 and it's entirely impossible to upgrade or install anything on the machines. I already…
Hi
Does anyone know how Asp.net membership generates their salt key and then how they encode it(ie is it salt + password or password + salt)?
I am using sha1 with my membership but I would like to recreate the same salts so the built in membership stuff could hash the stuff the same way as my stuff can.
…
Greeting,
currently we migrate our project to .net 4. also we use .nunit 2.5.5 with testdriven.net 3.
I got this error, when I run tests.
Test 'TestCase1' failed: System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0,…
Cassandra relseases on the we-coffee.com site a new version of Bonnie.NET. The Bonnie.NET Web Edition (http://www.we-coffee.com/bonnie/bonnieWeb.aspx).
This new version permits to digitally sign texts, files and from data from an ASP.NET web-pages.
It integrates the PKCS#7 standard to permits…
Once a while I hear some known ASP.NET developer declaring that they quit developing in .NET and moving to Ruby using Ruby in Rails.
The problem is they don't mention exactly the reasons. They use words like RoR is 'easier', 'better' & 'faster'. That really doesn't say much to me.
Anyone care…