访问被拒绝的异常|部署ASP.NET Core托管的Blazor Webassembly应用程序

时间:2020-09-23 07:32:29

标签: asp.net asp.net-mvc iis windows-server-2016 blazor-webassembly

我正在尝试在Windows Server 2016(在AWS中)中部署ASP.NET Core托管Blazor Webassembly应用程序。 托管应用程序,而IIS中没有任何错误。但是,当应用程序到达与验证证书实例有关的代码部分时,我收到以下异常:

syntax on set guicursor= set relativenumber set noerrorbells set tabstop=2 softtabstop=2 set shiftwidth=2 set expandtab set smartindent set nu set nowrap set smartcase set noswapfile set nobackup set undodir=~/.vim/undodir set undofile set incsearch set cursorline set cursorcolumn set updatetime=50 call plug#begin('~/.vim/plugged') Plug 'gruvbox-community/gruvbox' Plug 'preservim/nerdtree' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-surround' Plug 'scrooloose/syntastic' Plug 'scrooloose/nerdcommenter' Plug 'majutsushi/tagbar' Plug 'vim-airline/vim-airline' Plug 'nathanaelkane/vim-indent-guides' Plug 'airblade/vim-gitgutter' Plug 'blueyed/vim-diminactive' Plug 'mattn/emmet-vim' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' Plug 'mileszs/ack.vim' "Plug 'mxw/vim-jsx' "Plug 'leafgarland/typescript-vim' "Plug 'peitalin/vim-jsx-typescript' Plug 'neovim/nvim-lspconfig' Plug 'nvim-lua/completion-nvim' call plug#end() let g:gruvbox_contrast_dark = 'hard' if exists('+termguicolors') let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" endif let g:gruvbox_invert_selection='0' colorscheme gruvbox set background=dark let loaded_matchparen = 1 let mapleader = " " let g:airline#extensions#tabline#enabled = 1 let g:fzf_layout = { 'window': { 'window': 0.8, 'height': 0.8 } } let $FZF_DEFAULT_OPTS='--reverse' set completeopt=menuone,noinsert,noselect let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy'] lua require'nvim_lsp'.tsserver.setup{ on_attach=require'completion'.on_attach } map <C-\> :NERDTreeToggle<CR> map <C-/> :TagbarToggle<CR> nnoremap <leader>h :wincmd h<CR> let g:gitgutter_map_keys = 0 nnoremap <leader>j :wincmd j<CR> nnoremap <leader>k :wincmd k<CR> nnoremap <leader>l :wincmd l<CR> nnoremap <leader>pv :wincmd v<bar> :Ex <bar> :vertical resize 30<CR>

我也在Windows 10 Pro中尝试了相同的操作,但未引发异常。在Windows Server 2016中,我尝试直接使用可执行文件运行应用程序,并且该应用程序按预期运行,并且此方法未引发异常。

我还以管理权限启动了IIS,但问题仍然存在。是否由于Windows用户访问权限而出现此问题?我该如何解决上述异常?

0 个答案:

没有答案