After a long process of configuring IIS inhttp://forums.asp.net/t/1622627.aspx ...In iis project the jquery doesnt work ...but when i run the same in vs2010...it works
Last year we created an application that creates folders for the records on our network drive. Everything worked til the new year.. then we had to update the code to create a new parent folder for the year, since then every other month it seems that the month folder gets created, but the individual folders under that month do not.
In my local enviroment it just works. Iam no IIS Admin so ....
i try the following
My domain "http://mysite.com/" goes to my url provided by my hosting service (discountasp.net)
I want that this url goes to the root/mysite/ virtual directory but i want that the url stays on "http://mysite.com/". So i defined the following rule, but it doesnt work for me.
here is my web.config that is placed in the root directory (generated by the IIS7 Remote Administration UI)
i havent uninstalled Visual studio 2010 .... for some requirements i had to repair my visual studio 2010 installation... now after repairing or reinstalling (not uninstalling and then installing, i reinstalled from the visual studio installation options) the visual studio 2010 i noticed that the asp.net Mvc template has vanished ... i tried to repair/ reinstall again but somehow it doesnt come up ... the template is not reflected into the visual studio new projects menu... as a result i am not able to load any of the mvc projects either ....
is there any possible way apart from uninstalling /repairing or reinstalling the visual studio i can get back my template again ? into my visual studio.... like wise somewhat kinda manual customization or like that ?
I am very new to WCF, I have read a lot and seen several presentations about it. I can get the basicHttp endpoint to work on my server but when i wanted to use https, I found that that endpoint binding doesnt work. I think through my research that the wsHttp binding is what i need. I can get the client to work but the service gives me a few different errors when I try to call the ssl endpoint.
Currently i get the following error:
The requested service, 'https://devwcftestsite.crata.ucf.edu/services/Person.svc/Person' could not be activated. See the server's diagnostic trace logs for more information.
Below I have included the web.config for my service project which is hosted at:https://devwcftestsite.crata.ucf.edu/services the service is called:Person.svc
If i split the statements up they work fine individually.But what im trying to accomplish is to pass in the column name that i want to select from my table.. ill pass it from the page as well as 1 other parameter.
I was looking and found some queries that will return the column name from the table but figured this may work.when i execute this,it returns the actual value in my SET @column line.so in the below code if i run it, it will just return the value "VideoLevel"
BUT if i change it to the example below that,it works..
i'm trying to select/unselect aspxtreelist nodes that meet the criteria.when user click a row and it fires an event which handled by server side eventhandler.When i debug the code everthing ok.selection works but on the browser side selection remains same as before eventrised.
I got a view that uses the ajax.beginform tag.This works great but if I want to do some validation to the data and then return a error message to the page it doesnt work for me.Here my code :
i followed this tut http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=554 for cascading drop downs, but i changed the sql connections for my linq datasource. VS2010 is showing no errors in my code and the page loads fine too, but the two drop down lists are emptycan anyone scan there eyes over it and see if theres any reason why it shouldnt be working?my code is the same as the tuts apart from it uses LINQ instead of SQL
I have a C# ASP.NET MVC application which has been using jquery 1.3.2 in VS2008 environment.
I decided to upgrade to 1.4.2 and added the file to my project. Changed the reference in my masterpage header to the new version. But now nothing works, it's like it can't find the jquery library.
We have an Intranet site so each developer has our own development site on our computers. We were using XP and IIS6 but are trying to move to new computers running Windows 7 and IIS7.5. Our website starts with classic ASP in the root and has 2 virtual directories turned into applications with .NET code. One is projectless .NET and it works perfectly. The other is a .NET project and we cannot get that running on Windows 7. It compiles fine with Visual Studio 2008 but when trying to access the files through the browser it just runs and eventually times out.
I have tried various things:
- both Integrated and Classic pools for this problem application and the entire website - even installed framework 1.1 just in case - various IIS settings including installing all IIS6 Management Compatibility items
I am guessing perhaps something has to change in web.config or some other file, but not sure what. We are running the 32 bit Windows 7 Enterprise.
with jquery and don't know much of it.I have a jQuery code in my asp page and it's not working with Mozzila, Chrome, and Safary it just work with IE. How can I make it work with those browsers? And How can I put this jquery code outside my html?
I have been usiing thr profile provider in a net2.0 application and it works fine. I am now working on a 4.0 project and the profile doesnt work. I have the aspnet_Profile table in SqlServer and I have the code in the config.
[Code]....
But I don't get a Profile.XXX in the intellisense? What am I missing?
I am working on 2 projects. One that is in MVC2 that is an existing application, and then I have the MVC3 application that I am trying to build. After hearing that I could get intellisense for my work in VS2010, I went to install the VS tools for MVC3. Now my old project will not work. I'm not trying to move my MVC2 project to MVC3 right now either.
I didn't actually change anything about the MVC2 project, but now I get this error whenever I try to open a page:
Server Error in '/' Application.
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The type 'System.Web.Mvc.ViewMasterPage' is ambiguous: it could come from assembly 'C:WindowsassemblyGAC_MSILSystem.Web.Mvc2.0.0.0__31bf3856ad364e35System.Web.Mvc.dll' or from assembly 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Web.Mvcv4.0_3.0.0.0__31bf3856ad364e35System.Web.Mvc.dll'. Please specify the assembly explicitly in the type name.
I'm trying to work with HandleError attribute in a MVC2 application and found some weird feature.When you create a new project and choose "ASP NET MVC2 Web Application" (the one that comes with Home and Account suppport) the following code works well:
[Code]....
I believe that is a configuration issue, but I don't kwon how search about.Anyone has an explanation for this?
I just finished programming a web application, and I want to upload it to a host server so that it works online. However, I faced some problems.When recalling functions from class files, server can't approach them, and the following error appears: (BC30002: Type 'db_class' is not defined)I know that there are steps I have to do in this stage in order to make the project working. I want your help letting me know what these steps are!
I have reviewed many references and posts in this forum, but I couldn't reach a solution.I built a small project that contains ( default.aspx, app_code/class1.vp and web.config). It would survive my graduation project if you would downloading the project and fix the error appearing, and return me back the modified code. I tried many things on my hand to get fixed, but with no result.[URL]
How do you modify a ASP.NET MVC 2.0 project to work with the Spark View Engine?
I tried like described here:
[URL]
But somehow it still tries to route to .aspx files.
Here the code of my global.asax:
public class MvcApplication : System.Web.HttpApplication { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute(.......