I am using vs2010, asp.net website having mysql database.
all i need to ask is:
when i build solution,rebuild solution,build website,rebuild website. it succeeds.
but when i publish it on another folder it gives me this error on almost every page of my application.
Error 1 Circular file references are not allowed.
how am i suppose to deploy my website even on iis or my local machine??
I have tried batch="false" in the compilation part (web.config).
but no use.
please help. thanx in advance.
Have a look at this thread. It looks like the same issue with a lot of helpful advice going on.
Related
I have this project from github, database on sales and inventory system. But when I open it, it encounters errors.
I really need help on how to open this project with no errors? What should I do to fix this project?
PS: Need a step by step explanation regarding this, I just started databases, so I'm not sure what other tools I should be needing like MS Access or SQL.
The error is self-explanatory: underlined data types cannot be found.
That's means these types are defined in assemblies, currently not available to the compiler.
So in order to build the solution you need to supply these assemblies. There are multiple options, but I'd recommend doing this through NuGet as it is fully automated(you know about it, right?).
The missing assembly is related to the Microsoft.Reporting. So install this and try to build again.
I made an project in Visual Studio Express using C#, i compilled it into an .exe, it run normally. is there any way to run my app from HTML, i'm making an website for me.
EDIT: i think is better to make an download and user install the app. thanks for helping :D
No.
You could create a link to the file, and allow people to download it. Their browser may give them a choice to run it immediately or not.
The only I know of to this would be to run an Ajax request and have a server side file execute the file. You can't do it with straight javascript, but if you're willing to use a language like PHP you'll be able to execute a file on your server "using" javascript.
Is it possible to preview edit a live website such as updates using Brackets? I know there is the project settings field where it is used for local hosted filed but what if I entered a website in general. I've tried this and when previewing, the website showed up but nothing changed in the brackets code. Could this act as the inspect element for the website?
I would really like to know how if this is even possible.
Thank you so much in advance for the help!
No, this is not possible.
Live Preview works by serving your current project via a local server that connects Google Chrome via its remote debugging protocol. This implies that your project has to be local.
All,
I have very limited knowledge of .aspx and ultimately what I want to do is exactly this:
http://www.webonweboff.com/widgets/ajax/ajax_linked_selection.aspx
I appreciate the code is given in the link above, but I am only familiar with HTML and Javascript so when it starts to tell me .aspx and .cs code I get a little lost. Have done my homework and I guess i need to install something to run these programs. Naively, I only have notepad++ at the moment.
Any help would be greatly appreciated
Joe
Your best bet is to go to http://www.asp.net/downloads and click the big green Install Now button. This will use the Microsoft Web Installer to download everything you need to get started with ASP.NET development (including Visual Studio Express which will take the place of notepad++!).
Try installing visual web developer and create ASP.NET wesite in C#. You should be able to run these files.
http://www.microsoft.com/express/Web/
Also try going through these tutorials
http://www.asp.net/web-forms
ASPX is like CGI programming. Yes you need to install the ASP.NET developer studio in order to deploy your web application. It will then configure a default webserver on your local host where you can start playing with the code samples.
I am using Visual Studio 2008 to build my projects.
I often take existing sample code and edit it and toy around with it, as I am just learning and I'd like to advance my skill.. it's nice to have a template to work with.
That being said, I often get the build error "Post build event failed". This is often accompanied by a "could not find xxx.sbr file" or something. I do not know what an sbr file is, not a "post-build event". Re-building doesn't seem to help, and clearing all the files out before tying another build does not help either.
That being said, the executable still always gets built.
I was wondering:
What is a post build event and what are the implications/causes of its failure?
What is an sbr file? I tried researching this a bit.. a "Source Browse File"? This site seemed pretty informative: http://www.ehow.com/facts_5657521_file-extension-sbr_.html
The problem is, I don't understand why the compiler would complain about not finding this (isn't it supposed to MAKE this?) and what EXACTLY it does ("enables Microsoft Visual Studio to access your source code" - can't it do this anyway?)
Thanks!
R
post build event is just a command you can have visual studio run after it's finished - maybe to kick off tests or build an installer.
It's in properties->build events in the menu - right click on the project.
The SBR file is used by visual studio to browse sources and lookup which function is in which file. I have had problems where somehow it's internal list of dependencies gets screwed up and it always rebuilds one of them.
Try a clean and rebuild, then try quitting visual studio and deleting the .ncb file