I got the error this way :
Unable to use any Actions from Pages in Navigation Bar if Arabic language is set.
Steps to reproduce:
1. Log in as Host to 7.3.4 latest build
2. Localize site with Arabic (Saudi Arabia), en-Us languages
3. Click the Arabic flag to switch to ar-SA (Saudi Arabia) language
4. Hover over Edit Pages in the Navigation Bar
5. Click "Add a NEW PAGE"
The Create Page pop up starts to render
In the UI I get an error message:
A critical error has occurred.
If no, is there another way to do this?
Basically, assuming that acceptable hour difference is 2, anything above 2 incurs additional fees.
So, I wanted to pass that variable to Reserve.aspx page so I can substract 2 from whatever the total hourDiff is and if the difference is greater than 0 than add x amount of additional charges to the total hours greater than 2.
I used that starter project to create my first website. I'm done with the contollers and views, I made my HTML pages, and wanted to modify the register user program. So I made my textboxes, modified the AccountModel for it, and ran into a road block. The logic or the code in compiled is in a DLL, or I guess called a plugin or package.
This is what I wanted to modify, add some fields like Company Name and Email Address
So this is a pre-fabricated dll from NuGet, in which the source code is kept safe for?
And I have to write my own gig in order to do this?
So my question is:
If I want to start writing my own stuff here for my MVC Project, I have to create a new project, and compile it as a DLL, and add a reference to it, or write something in the App_Code folder to experiment with?
Not quite sure how to precede here. I searched around and couldn't figure out the keywords of what to look for.
I have a ASP.Net 3.5 web application with SQL 2008 as the back-end. I used ADO.Net's enterprise library Data Helper classes (Entlib 4.1) to access the DB and its stored procedures.
I initially set the CONTEXT_INFO in a stored procedure and then in subsequent stored procedures, I use the value set in CONTEXT_INFO to filter the queries. It worked perfectly in this setup.
I then migrated to ASP.NET 4.5.1 framework with EntLib 6 (tried with 5 also). I am facing a fundamental issue in that the CONTEXT_INFO value is not being retained between 2 subsequent SP calls. I have not closed the connection between calling the SP's/subsequent calls. Therefore none of my SP's return values.
SP for setting CONTEXT_INFO
DECLARE @ContextInfo varbinary(128)
SELECT @ContextInfo = cast( @SomeIDPassed AS varbinary(128) )
SET CONTEXT_INFO @ContextInfo
Other SP using CONTEXT_INFO
(CONVERT(int, RTRIM(REPLACE(CONVERT(varchar(128), CONTEXT_INFO()),char(0), '')))))
I'm trying to figure out how to create a link to download one of my windows apps.
I'm new at this, HTML5, CSS3, MVC and c# all at the same time.
So in my view, I wrote this. If the user is logged in, they can download the file, and vice versus. It seems to work fine, not sure if I did it the right way or not.
<h5>How to get Streakwave Reseller 2015 today</h5>
Simply register an account, so we can get an idea if folks are using it, and click on
Installation takes about 30 minutes, including the download of LocalDB, and the <br />
Currently the program is shareware, or free to use,
Current Version is220.127.116.114
if (User.Identity.Name == "")
<section id="login" style="text-align: left;">
@Html.ActionLink("Download Streakwave Reseller 2015", "StreakwaveReseller2015_DownloadApp", "Apps")
Now on this part, I'm not sure if I use the controller file, and change the view to code that starts the download. Or if I have to create or use the assigned model to do that. My knowledge learned says use the controller file. So if I use the controller file, then I don't need a view file then?, because there is no view.
public ActionResult StreakwaveReseller2015_DownloadApp()
Or am I completely off the tracks here on this one.
If I am on the right track, I not sure what to write in the controller action result, and point in the right direction would be of great service to me.
The config turned off everything on me, server error 500.1 or something.
Should of used read, or something.
I just solved my redirect login, the IsLocalUrl, so I'll tackle that tomorrow morning.
You have to login or register to download the file.
MVC does let you download the file in you type directly. Interesting. Maybe I should of put it in app_Data, since I'm reading the bytes.
Since when does "open source" mean "less secure"? Having access to the source code does not mean you're going to know where all the weaknesses are. There are plenty of other things you have to do to the server that have nothing to do with the application code to properly secure the server.