precompiled

Decompile Precompiled Source Code ASP.NET

扶醉桌前 提交于 2019-12-13 02:56:27
问题 we have an application in production and the code is in Pre-Compiled form. The developer who developed that application left the company and we don't have any backup of source code. the only access we have is Pre Compiled code in the server. We need to fix the issues in the application now. Is there any way to Decompile (extract to actual source code) the PreCompiled code ? 回答1: Open the DLLs in the .NET Reflector. 回答2: To update @xOn's answer: Due to a recent source control disaster I had to

Global.asax not loading for precompiled asp.net website

时光毁灭记忆、已成空白 提交于 2019-12-12 08:10:53
问题 I used Visual Studio 2008 to publish my asp.net website. When I bring up the website on the server (Windows 2008 server), I noticed that the code in global.asax was not running. My Global.asax body is similar to: <%@ Application Language="C#" %> <script runat="server"> protected void Application_Start() { // Initialize some site settings like a task scheduler } protected void Application_End(object sender, EventArgs e) { // Perform some clean up code } </script> There is a App_global.asax.dll

application.js isn't precompiled

≡放荡痞女 提交于 2019-12-12 01:03:49
问题 I'm not sure why, but whenever I run rake assets:precompile , application.js doesn't get compiled. I get a "application.js isn't precompiled" error in production mode. Here is my Gemfile if it means anything: source 'http://rubygems.org' gem 'rails', '3.1.1' gem 'eventmachine', '1.0.0.beta.4.1' gem 'thin' gem 'mysql' gem 'win32-open3-19' gem 'paperclip', '2.3.8' #gem 'jammit' gem 'jsmin' gem 'will_paginate' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git'

Rails 3, javascript is “not found” when running in production

♀尐吖头ヾ 提交于 2019-12-11 08:23:44
问题 I know it's related to assets, I do precompile the assets with bundle exec rake assets:precompile But the browser gives me 404 for only one javascript (jquery.formalize.min.js) file, which is not generated for some reason. There is however the code for jquery.formalize.min.js inside the precompiled application-xxxxxx.js. I'm including it with: <%= javascript_include_tag "formalize/jquery.formalize.min", "main" %> And the error message in Chrome looks like: GET http://example.com/assets/jquery

Rails 4, Heroku doesn't recognize precompiled manifest-(fingerprint).json

前提是你 提交于 2019-12-11 07:49:28
问题 After upgrading to Rails 4, public/assets/manifest.yml is not generated anymore. Instead the different formatted manifest-(fingerprint).json is present. But it seems to me that the server is still looking for the old manifest.yml format, ignoring the .json version? I see other questions based on similar problems, but they seems to be sovled by upgrading to Rails 4, adding rails_12factor to gem file, setting serve_static_assets = true, etc., but none of these solutions seems to have any effect

How to precompile ASP.NET 4.0 to a Single DLL with VS 2010

杀马特。学长 韩版系。学妹 提交于 2019-12-11 02:37:46
问题 I recently upgraded from VS 2003 where I was working on a ASP.NET 2.0 website to VS 2010 where I have migrated to ASP.NET 4.0. So far it has been a big headache to get my site compiling with the new version. One problem was that my aspx.cs pages could not find the shared code libraries in my project. I solved this by moving my shared code to the App_Code folder (if there's a different/better way to do it please let me know). Another issue that I am finding confusing is with pre-compilation.

Ace editor with rails 4 precompiled assets madness

痞子三分冷 提交于 2019-12-10 23:47:02
问题 I have been trying to integrate the Ace editor to a Rails 4 project and couldn't get it to work in production. The editor renders but -obviously enough, it can't load the mode-* files. I tried to add the whole ace tree to the compiled assets hoping it would somehow figure out it's already loaded, but it's still looking for "url/mode-html.js". Has anyone had any luck making Ace work in Rails with precompiled assets? Am I missing something? 回答1: This is the workaround I used (in my case for the

Rails - image.png Isn't Precompiled

老子叫甜甜 提交于 2019-12-10 23:44:19
问题 I'm attempting to deploy a web application on Amazon's EC2 servers, and I have the code up on the server. Everything looks like it's working, but when I go to the home page, I get a 500 error message and the production.log file gives me the following error: ActionView::Template::Error (image.png isn't precompiled) I've tried running rake assets:precompile , I've changed the line in config/environments/production.rb to config.assets.compile = true I've checked that the compiled image.png is in

How do I deploy a pre-compiled ASP.NET web application?

*爱你&永不变心* 提交于 2019-12-10 10:29:41
问题 I have a web service implemented in ASP.NET 2.0 and have pre-compiled it using the aspnet_compiler. I have no clue now how to deploy it to IIS, can someone point me in the right direction? I am using IIS 6.0 on a Windows Server 2003 machine. I have placed the pre-compiled files into a virtual directory, when I access the service through the browser I get the following parser error message: Parser Error Message: The page must have a <%@ webservice class="MyNamespace.MyClass" ... %> directive.

How to tell what page a dll refers to in precompiled ASP.NET site

家住魔仙堡 提交于 2019-12-10 00:28:49
问题 I'm using a pre-compiled ASP.NET 2.0 site (i.e., copied to the server using the "Build->Publish Web Site" feature in Visual Studio 2005). I catch and log all errors which are usually quite detailed, but lately I've been getting the following error with no other information: Could not load the assembly 'App-Web-rp2eml-j'. Make sure that it is compiled before accessing the page. Now, that 'App-Web-rp2eml-j' file should be a dll in my bin folder which was created for the pre-compiled site. My