EF 5 Code First migrations on Web Role - How?
ok, I've added migrations according to this http://msdn.microsoft.com/en-US/data/jj554735) and run
Update-Database. It worked locally, all good.
Now, as I'm developing a Web Role project I don't know how to do "Update-Database" on role start. Anyone have a good example or a link? I appreciate it.
I've tried this
private static void ApplyDatabaseMigrations()
try
Database.SetInitializer(new MigrateDatabaseToLatestVersion<MyDbContext, Configuration>());
using (var dbcontext = new MyDbContext())
dbcontext.Database.Initialize(false);
catch (Exception ex)
Trace.TraceError("Failed to migrate database: {0}", ex.ToString());
but this code crashes w3 worker process and there's no meaningful description.
I tried this code on WebRole.OnStart and on Application_Start - no luck.
PS. VS2013 Preview and MVC 5
ok, tried again - no luck :(
Here's the method which should update the database:
public static void ApplyDatabaseMigrations()
try
Database.SetInitializer(new MigrateDatabaseToLatestVersion<MyDbContext, Configuration>());
using (var dbcontext = new IdentityDbContext())
dbcontext.Database.Initialize(false);
catch (Exception ex)
Trace.TraceError("Failed to migrate database: {0}", ex.ToString());
And I invoke it inside Application_Start. Now, if I publish this to Azure I get this very nice and supportive message in EventViewer
Faulting application name: w3wp.exe, version: 8.0.9200.16384, time stamp: 0x50108835
Faulting module name: clr.dll, version: 4.0.30319.18051, time stamp: 0x5173c12d
Exception code: 0xc00000fd
Fault offset: 0x000000000003506b
Faulting process id: 0xc9c
Faulting application start time: 0x01cea29c48f2540d
Faulting application path: d:\windows\system32\inetsrv\w3wp.exe
Faulting module path: D:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report Id: a98850a3-0e8f-11e3-93ef-00155d4a0c5c
Faulting package full name:
Faulting package-relative application ID:
Similar Messages
-
Hello,
I use Entity Framework code first approach.
My project is working fine with SQL Server. But, I want to access Oracle too. I want to switch SQL Server and Oracle in run time.
I am able to access Oracle using "Oracle.ManagedDataAccess.EntityFramework.dl" in a new project.
But, Is this possible to access SQL Server and Oracle in the same project.
Thanks,
MuruganThis should be possible with a Code-First workflow. In Code-First the database mapping layer is generated at runtime.
David
David http://blogs.msdn.com/b/dbrowne/ -
When I add a migration and update database I see 2 migration records got inserted in to the MigrationHistory table where I am expecting 1 record.
The first record has the actual migration value which is correct.
The second record has the ContextKey column value as "XXXContext" which shouldn't be there.
I am only expecting the 1st record in MigrationHistory table.
Can some one help me on this please?
Note: I am currently having the code and Database version of EF6
Many Thanks!Hello SivaNagarla,
As far as I know, it should be only one record for every migration, from your description, it sounds very strangely. For helping you looking this case, please provide information as:
1.What database you are using and you developed language?
2.Please share the related entities and provide a description for how you do that migration.
3. Please show us the two generated reocrds data
There are suggestions you could also have a try:
1.Re-install the Entity Framework from Nuget.
2.Re-Create the project/solution
3.Create a same project in another machine.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Trying to Learn MVC code first with Vs2013 web express on windows 7 os computer. When code runs to create database get: An exception of type 'System.Data.SqlClient.SqlException' occurred in EntityFramework.dll but was not handled in user code
Additional information: CREATE DATABASE permission denied in database 'master'.
Have this problem with the 'OdeToFood' plurasight course as well with the
'developing ASP.NET MvC 4 Web Applications Jump Start' MVA course.
Re-installed sql2008r2 using window
admin user and ran the project and get same message as when i run the project with the none admin user.
What are steps to allow database creation for admin user and none windows admin user?
Daniel HowardDavid, thanks for the reply.
I believe the problem may be something else because after adding the
user to 'sysadmin' and I still get the message
Additional information: CREATE DATABASE permission denied in database 'master'.
Perhaps I need to go to ASP.NET forum to ask the question.
I will mark you answer as answer.
Thanks again
Daniel
Daniel Howard -
We've recently migrated our web service to Azure. Part of it is running on an Azure Cloud Service. It serves around 5000 requests per minute, lots of dynamic image generation and various types of data feeds. We're currently running two Standard D4 instances
backed by a P1 SQL database and B4 Redis cache.
Our service is dependent on many 3rd party web services; try as we might sometimes bad data slips through the cracks and our service returns a 500 response (we output a short, custom xml response with usually an http 500 status). Occasionally this will happen
to routes that receive many requests - large networks or devices that aggressively retry - and this appears to cause Azure to return a 502 error page for all routes to our web role. It doesn't even really take that many. A few thousand over a 15 minute period
caused it today. It was simply an uncaught null reference exception.
This takes our entire service down and is a huge issue for us. Is an Azure load balancer in front of our services canning our incoming connections when it detects some level of 500 responses from our service? What should we be doing differently?We're considering a couple of options. The first was simply to respond with a 503 response instead of a 500, and use the Retry-After header. We cannot guarantee clients will follow that header, however. Our other thought is to more closely monitor the error
rate (currently we have a job checking every 5 minutes for the total errors per end point over the last 15 minutes) and when some low threshold is passed return a 200 response with a short message or an "empty" response appropriate to the expected
content type (which might be a solid black image, for example).
If feels wrong to return a 200 response when our service cannot successfully complete the request, but we're not sure what else to do and what Azure may or may not be doing that is outside of our control here. -
How to create ForeignKey reference to code-first identity tables.
Hi,
I'm developing a web application using MVC 5, EntityFramework 6 with a Code-First approach.
I have successfully created my tables dbo.AspNetRoles, dbo.AspNetUsers... etc, also I have created some custom tables for example a table that must have a relationship between the menus presented and the role of the authenticated user. What I want to add
to my model is a property like this:
[ForeignKey]public virtual AspNetRoles Roles { get; set; }
But of course I have not an AspNetRoles class, because the framework auto generates the tables only in the SQL database, so my question is, I have to manually create this classes? How can I link them to the database tables, I think the issue may be deeper.
If I can't do this maybe I should go back to SQL manual queries.
Thanks!Hello Morral,
>> What I want to add to my model is a property like this:
If you have a separate model to store your own business model, what you have written should be almost ok, however, please take care the [ForeignKey] attribute is usually used to markup a property as an integer property to specify it as a foreign key:
public virtual int RoleID { get; set; } [ForeignKey("RoleID")]
public virtual AspNetRoles Roles { get; set; }
Or it would generated a combinatorial name.
>> But of course I have not an AspNetRoles class, because the framework auto generates the tables only in the SQL database, so my question is, I have to manually create this classes?
From your description, the AspNetRoles class seems to be a system class which is not exposed to user. If so, these classes already exists, you do not need to create them again.
I notice that you are working with the MVC project, you could also ask this issue to the MVC forum:
http://forums.asp.net/1146.aspx
There are MVC experts will help you.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Share Same DbContext between web role and worker role
HI
My "Windows Azure Cloud Service" project consists of one web role (.NET MVC) and one worker role, they are working fine under "Emulator".
The web role project is orginally a Azure web site application which is converted to a web role project and the connectionstring is located in the web role application
http://thinkfirstcodelater.com/blog/?p=1922
When I try to access the dbcontext in worker role like this
public override void Run()
// This is a sample worker implementation. Replace with your logic.
Trace.TraceInformation("CCDWorker entry point called", "Information");
while (true)
Thread.Sleep(50000);
MyContext context = new MyContext();
List<MyEntity> ccds = context.MyEntity.ToList();
Trace.TraceInformation("Working", "Information");
I got this exception: "The model backing the context has changed since the database was created." Please help
Regards
MarkHi Mark,
Thanks for posting!
Like jeff said in this blog(http://weblogs.asp.net/scottgu/archive/2010/08/03/using-ef-code-first-with-an-existing-database.aspx ),When a model
is first created, we run a DatabaseInitializer to do things like create the database if it's not there or add seed data. The default DatabaseInitializer tries to compare the database schema needed to use the model with a hash of the schema stored in an EdmMetadata
table that is created with a database (when Code First is the one creating the database). Existing databases won’t have the EdmMetadata table and so won’t have the hash…and the implementation today will throw if that table is missing. We'll work on changing
this behavior before we ship the fial version since it is the default. Until then, existing databases do not generally need any database initializer so it can be turned off for your context type by calling:
Database.SetInitializer<YourDatabaseContext>(null);
Also, you could refer to this thread,http://stackoverflow.com/questions/3600175/the-model-backing-the-database-context-has-changed-since-the-database-was-crea
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Semantic Logging web api in web role
Hi Team,
I have implemented web api with semantic logging to capture logs and hosted in azure.
I have azure project added the web api project as existing web role project.
Below are my code snippet.
In eventsource class:
[Event(1, Level = EventLevel.Informational, Keywords = Keywords.BRRIHUB, Task = Tasks.Processing, Opcode = Opcodes.Debug, Version=1)]
public void DebugLogging(string msg)
if (IsEnabled())
this.WriteEvent(1, msg);
In web api controller:
using Microsoft.Practices.EnterpriseLibrary.SemanticLogging;
using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters;
[HttpPost]
public string DebugLogging(HttpRequestMessage Req)
string Response = null;
EventListener DebugLogFileListener = null;
try
DebugLogFileListener = FlatFileLog.CreateListener(localResource.RootPath + "DebugLog" + System.DateTime.UtcNow.ToString("MMddyyyy") +
".txt", formatter: new XmlEventTextFormatter(EventTextFormatting.Indented), isAsync: true);
DebugLogFileListener.EnableEvents(BRRIHubEventSource.Log, EventLevel.Informational, BRRIHubEventSource.Keywords.BRRIHUB);
string msg = Req.Content.ReadAsStringAsync().Result;
BRRIHubEventSource.Log.DebugLogging(msg);
Response = "Message Successfully written in to Debug log File";
catch (Exception ex)
Response = "Error in writting Debug log File" + ex.Message;
finally
DebugLogFileListener.Dispose();
return Response;
In webrole onstart to synchronize the log files written in resource folder to azure container:
LocalResource localpath = RoleEnvironment.GetLocalResource("LogStorage");
var logFilePath = localpath.RootPath;
var logDir = new DirectoryConfiguration
Container = "slab-logs",
DirectoryQuotaInMB = 100,
Path = logFilePath
var diagnostics = DiagnosticMonitor.GetDefaultInitialConfiguration();
diagnostics.Directories.ScheduledTransferPeriod = TimeSpan.FromMinutes(1);
diagnostics.Directories.DataSources.Add(logDir);
var connStr = CloudConfigurationManager.GetSetting("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
DiagnosticMonitor.StartWithConnectionString(connStr, diagnostics);
But this code is running fine from my local machine.
After deploying it to azure this is not running as expected. First time it is creating log files in resource folder. but then later it is keep sending error message like below,
- The operation has timed out
- File used by another process
How can I resolve this? Kindly experts please share your ideas and blogs that available for writing semantic logs file in flat file and then it should move to azure storage blob container.
Expect azure experts advise.
Thanks.Hi Billgiee,
Thanks for replying. I have tested by taking RDP of instance deployed.
Finally I found the issue fix. This was happen due to created file listener in asynchronous mode. After I changed that property to false. Code is working fine. now it is continuously taking the input and writing to log files in semantic logging approach.
Set property : isAsync: false
It got fixed!
Coding snippet:
DebugLogFileListener = FlatFileLog.CreateListener(localResource.RootPath + "DebugLog" + System.DateTime.UtcNow.ToString("MMddyyyy") + ".txt", formatter: new XmlEventTextFormatter(EventTextFormatting.Indented), isAsync:
false);
Thanks
Thanks, SaravanaBharathi.A -
I have Azure SDK 2.5 installed and when I try and publish my web role from VS 2013, it fails. When I manually upload the package and config through the Azure Portal I get the error: "Invalid application runtime - a runtime component
is missing:/base/x64/IISConfigurator.exe".
I have tried uninstalling and re-installing the Azure SDK with no change in the error.
Any ideas how I can troubleshoot this?I uninstalled the SDK, and tried to create a new cloud servce using the WCF service project template. The new project still gives me the same error:
The file provided is not a valid service package. Detailed error code: WCFServiceWebRole1 Invalid application runtime - a runtime component is missing:/base/x64/IISConfigurator.exe. -
I'm not sure if this is F# specific or something else, but what could cause the following error message when trying to debug locally an Azure cloud service:
The Web Role in question doesn't seem to be a web application type project.
I added an empty F# web api Project to a solution (which adds Global.asax etc., I added an OWIN startup class Startup etc.) and then from an existing
cloud service project I picked Roles and
chose Add
-> Web Role Project in solution, which finds the F# web project (its project type guids are 349C5851-65DF-11DA-9384-00065B846F21 and F2A71F9B-5D33-465A-A702-920D77279786),
of which the first one seem to be exactly the GUID that defines a web application type.
However, when I try to start the cloud project locally, I get the aforementioned error message. I have a C# Web Role project that will start when I remove the F# project. I also have F# worker
role projects that start with the C# web role project if I remove this F# web role project. If I set the F# web project as a startup project,
it starts and runs as one would expect, normally.
Now, it makes me wonder if this is something with F# or could this error message appears in C# too, but I didn't find anything on Google. What kind of checks are there when starting the emulator and which one needs
failing to prompt the aforementioned message? Can anyone shed light into this?
Sudet ulvovat -- karavaani kulkeeSudet,
Yeah you are right, the GUID mentioned seems to be correct and the first one i.e. {349C5851-65DF-11DA-9384-00065B846F21} means the web application project which compute emulator uses to determine while spawning up role instances.
You might want to compare the csproj of your C# and F# web projects which might give some pointers.
Are you able to run your F# web project locally in IIS? If yes then you will definitely be able to run it on azure so I will recommend to test it in IIS Express first.
Here are some other tips which you can refer or see If you are yet to do those settings
1. Turn on the IIS Express - You can do it by navigating to project properties
2. Install Dependent ASP.NET NuGets / Web Api dependencies (If there are any missing), Reference System.Web assembly
Also I will suggest to refer this nice article about how to create a F# web Api project
http://blog.ploeh.dk/2013/08/23/how-to-create-a-pure-f-aspnet-web-api-project/
Hope this helps you.
Bhushan | http://www.passionatetechie.blogspot.com | http://twitter.com/BhushanGawale -
Migrating a webi report from one environment to another using import wizard
Hi Everyone,
Can anyone please tell me what all access should I have on my ID to be able to migrate a webi report from one environment to another environment(e.g. from development to quality).
Regards,
Neeraj SharmaHi,
To use the Import Wizard utility, you basically need Administrator, Full Control to Top-level folder, and "Add objects to the folder" and "Edit objects" for this user on the root folder.
You need the least restrictive role, because you require absolute control for content promotion between 2 entitlement systems.
the webi document is the cherry on-top, you;ll have universes, connections, folders to bring over too.
Regards,
H
p.s. check Note 1450708 - How to restrict access to the Import Wizard from a Business Objects Enterprise system
and
Note 1297121 - What rights needed to use Biar File Extraction for a normal user while using Import Wizard ? -
Diagnostics not working in web role for Azure SDK 2.5.1
I am working with Azure SDK 2.5.1, mainly on the new designed diagnostics stuffs. However, I found I cannot get it run for my web role.
So, I created a cloud service project, added a web role. Then, I appended one Trace message at the end of Application_Start in Global.asax.cs:
Trace.TraceInformaction("Application_Start end.");
After that, I right clicked the WebRole and opened the Properties tab.
In the diagnostics config window:
General: I choose 'Custom
plan', also specified the storage account, keep the 'Disk
Quota in MB' as default '4096'
Application Logs: 'Log
level' switch to 'All',
others kept as default
Other tabs are in default config settings
After I deployed the project to cloud, I found some unexpected things:
There is no WADLogsTable exists
in Table storage. That's very strange, if I use a Worker Role, it would work as expected. So in web role, I just cannot find the Trace logging?
For the performance counters, since I am using the default config with 8 counters, I can only see 8 in WADPerformanceCountersTable table
storage. In my assumption, over time, there would be more and more values of this 8 counters transferred to this table. But it was just not happened, after several hours, it still had that 8 counter values.
I just thought the diagnostics for Web Role just crashed or not working at all. Meanwhile, I checked the logs located at "C:\Logs\Plugins\Microsoft.Azure.Diagnostics.PaaSDiagnostics\1.4.0.0\DiagnosticsPlugin.log" in
server, at the end of this file there is an exception said some diagnostics process exit:
DiagnosticsPlugin.exe Error: 0 : [4/25/2015 5:38:21 AM] System.ArgumentException: An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.Azure.Plugins.Diagnostics.dll.PluginConfigurationSettingsProvider.LoadWadXMLConfig(String fullConfig)
DiagnosticsPlugin.exe Error: 0 : [4/25/2015 5:38:21 AM] Failed to load configuration file
DiagnosticsPlugin.exe Information: 0 : [4/25/2015 5:38:21 AM] DiagnosticPlugin.exe exit with code -105
From MSDN,
the code -105 means:
The Diagnostics plugin cannot open the Diagnostics configuration file.
This is an internal error that should only happen if the Diagnostics plugin is manually invoked, incorrectly, on the VM.
It doesn't make sense, I did nothing to the VM.
As I said above, I just did very tiny changes to the scaffold code generated by Visual Studio 2013. Did I do something wrong or it's a bug for Azure SDK 2.5?
By the way, it seems everything is ok for Worker Role.Hi,
This issue could be an internal issue, I do not have any update on this as of now. There was a similar issue due to a regression last month that has been resolved, however i dont think this issue is related.
Please follow the below article on how to enable Diagnostics and let us know if it works.
http://azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/
I will let you know if I have any update on this issue from my side.
Regards,
Nithin Rathnakar. -
Unable to run fresh Web Role solution
I compiled my first Web Role (Cloud Service) project and that worked; the output was "Build Successful". However when I want to run it the output shows: "Microsoft Azure Tools: Failed to initialize Microsoft Azure storage emulator. Unable
to start the storage emulator."
I don't understand why this is happening. This is a fresh project straight from the "New Project" wizard so there shouldn't be any problems.
I am a beginner cloud developer. Please can someone assist me with resolving this issue?Hi,
Please confirm if you have logged into an Admin user account, if not please follow the below steps:
1. Assign my non-admin user to the Administrators group;
2. Do the Start menu -> type "cmd"-> right click-> Run as admin-> Enter non-admin password-> Run "WAStorageEmulator.exe init".
After that the storage emulator works as non-admin.
If issue persists, please refer the following link which might help you:
http://stackoverflow.com/questions/25487088/azure-storage-emulator-failed-to-initialize-for-azure-sdk-2-4/26857335#26857335
Please get back to us if issue persists, so that we can assist you further and resolve this issue.
Regards,
Manu Rekhar -
IIS Site Hosted in Web Role can not start up
Hello Team,
We occured a problem when deploying application to web role
the WaIISHost can not start up and there are two error information in event log :
Application: WaIISHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
Stack:
at Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.<InitializeRole>b__0()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Faulting application name: WaIISHost.exe, version: 2.3.1198.663, time stamp: 0x53115226
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17031, time stamp: 0x53089862
Exception code: 0xe0434352
Fault offset: 0x00000000000068d8
Faulting process id: 0x6d4
Faulting application start time: 0x01cf89326cfa011a
Faulting application path: E:\base\x64\WaIISHost.exe
Faulting module path: D:\Windows\system32\KERNELBASE.dll
Report Id: ad418c8f-f525-11e3-80bc-00155dd153c7
Faulting package full name:
Faulting package-relative application ID:
if we miss some files when deploying the environment and how to check what files are missing.
thanks in advanced.Hello Baker.aveinc,
I understand that is a old thread, I will still go ahead and reply to this in case if this can be of help to other users.
The troubleshooting for this issue mostly depends on the status of the website on the portal. From the event logs, it appears that the faulty application is WaIISHost.exe.
I suggest that you have a look at this article that explains the scenario for Web Role Recycling.
http://blogs.msdn.com/b/kwill/archive/2013/10/03/troubleshooting-scenario-7-role-recycling.aspx
If this does not fix the issue, please post back with the status of the webrole on the portal
Thanks,
Syed Irfan Hussain -
Accessing shared database throws exception from one of 2 web roles
Setup:
Shared database
Main site and "admin site" each using separate web roles accessing shared database.
I had things working and running correctly until about 2 days ago. Then, only the "admin site" stopped working. I am using the same code to access the database across both sites but am getting the following exception when trying to access the
database in the admin site:
Message: Unable to open connection to "Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0".
Stack Trace: at IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) at IBatisNet.DataMapper.SqlMapSession.OpenConnection() at IBatisNet.DataMapper.Commands.DbCommandDecorator.System.Data.IDbCommand.ExecuteReader() at IBatisNet.DataMapper.MappedStatements.MappedStatement.RunQueryForObject[T](RequestScope
request, ISqlMapSession session, Object parameterObject, T resultObject) at IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForObject[T](ISqlMapSession session, Object parameterObject, T resultObject) at IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForObject[T](ISqlMapSession
session, Object parameterObject) at IBatisNet.DataMapper.SqlMapper.QueryForObject[T](String statementName, Object parameterObject) at AutoOffers.Persistence.SqlMapperWrapper.QueryForObject[T](String statementName, Object parameter) at AutoOffers.Persistence.Mappers.DbUserMapper.FindByEmailAddress(String
emailAddress) at AutoOffers.Persistence.Repositories.UserRepository.FindByEmailAddress(String emailAddress) at AutoOffers.Core.Domain.Services.Authentication.MembershipService.ValidateUser(String username, String password) at Admin.AutoOffers.Web.Controllers.HomeController.Login(LoginModel
model, String returnUrl) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext,
IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult
asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult
asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult
asyncResult)
NOTE: I've tried to go to the v4 provider but get the same error (except with v4 in place of v4). I would suspect something amiss with my application if I didn't have a working one using shared code...though I'm still not ruling out that I'm doing
something wrong, just waiting for input from here.
Thanks in advance.Hey there, and apologies for the lack of response. Are you still having this issue and still needing help? If so can you tell me a little more. Where is the application running (web/worker rolls)? what are the details on the SQL Database?
Thanks Guy
Maybe you are looking for
-
Will i loose all my music and pictures and apps if i use a different computer
will i loose all my music and pictures and apps if i use a different computer?
-
After viewing this page from Sun http://docs.sun.com/source/816-6128-10/confmbrs.htm#750819 i tried adding a new field called iwtAuthMembership-age, in all the 3 files needed to be changed. The Membership.properties, iwtAuthMembership.xml, and regist
-
I've created a package for a program I'm writing, MyApp. I have chosen as the package name ma, and all my .java files have at the beginning "package ma;". All my class files reside in the same directory: C:\Files\MA\ma\CLASS FILES HERE. I compile and
-
Final Cup pro HD doesn't respond
Hi everyone, I've been using FCP4.5 for a while now, and I've never had any problem. Today, it did refuse to open, which is quite a problem since I have a project to finish. I've used DiskWarrior, I've run a Hardwre test, but nothing works. Has any o
-
Boot Camp Assistant quit unexpectedly
Hi. I'm trying to install Windows 8 on my MacBook Pro 15" Retina, but Boot Camp quit every time I click continue from the "Create Bootable USB Drive for Windows Installation. The exact same thing happened to my roommate as well. We both have the late